Update 'spark-submit.sh'
This commit is contained in:
parent
ee8224b1c3
commit
ceefb04c27
@ -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[*]\
|
||||||
|
Loading…
Reference in New Issue
Block a user