Spark环境变量
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_162 export JRE_HOME=${JAVA_HOME}/jre export PYTHONPATH=/usr/bin/python3 export HADOOP_HOME=/usr/local/hadoop export SPARK_HOME=/usr/local/spark export PYSPARK_PYTHON=${PYTHONPATH} export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH export PATH=${PYTHONPATH}/bin:$PATH export PATH=${HADOOP_HOME}/bin:$PATH export PATH=${SPARK_HOME}/bin:$PATH