咩咩的咣咣

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

 

posted @ 2020-05-13 21:07  江北搬砖虚度  阅读(945)  评论(0编辑  收藏  举报