Update 'spark-submit.sh'

This commit is contained in:
hrucinska 2018-05-29 10:53:38 +00:00
parent ee8224b1c3
commit ceefb04c27

View File

@ -1,4 +1,9 @@
#!/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
$HOME/spark/bin/spark-submit\ $HOME/spark/bin/spark-submit\
--master local[*]\ --master local[*]\