From 6a9fd2a4dd6fc383feb48054e468a43c54f15dd5 Mon Sep 17 00:00:00 2001 From: hrucinska Date: Tue, 29 May 2018 10:52:27 +0000 Subject: [PATCH] Update 'mysql-submit.sh' --- mysql-submit.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/mysql-submit.sh b/mysql-submit.sh index 1940cd7..d22cae9 100755 --- a/mysql-submit.sh +++ b/mysql-submit.sh @@ -1,4 +1,8 @@ -#!/bin/bash +#!/usr/bin/env bash + +export HADOOP_CONF_DIR=$HOME/hadoop/conf +export HADOOP_HOME=$HOME/hadoop +export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HADOOP_HOME/lib/native export PYTHONIOENCODING=utf8