Hadoop 附录 发表于 2018-04-03 | 分类于 ai | Quick Start环境变量以下是各个节点的环境变量配置(/etc/profile) 节点node012345678910111213export JAVA_HOME=/opt/jdk1.8.0_65export JRE_HOME=$JAVA_HOME/jreexport CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/libexport PATH=$JAVA_HOME/bin:$PATHexport ANACONDA2_HOME=/opt/anaconda2export PATH=$ANACONDA2_HOME/bin:$PATHexport SPARK_HOME=/opt/spark-2.2.0-bin-hadoop2.7export PYTHONPATH=$SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.10.4-src.zip:$PYTHONPATHexport XDG_RUNTIME_DIR="/home/test/.jupyter"export HBASE_HOME=/opt/hbase-1.3.1export HADOOP_HOME=/opt/hadoop-2.7.4export JN_HOME=/home/test/jupyter_notebookexport LD_LIBRARY_PATH=/opt/xgboost_packages/libhdfs 其他节点123456789export JAVA_HOME=/opt/jdk1.8.0_65export JRE_HOME=$JAVA_HOME/jreexport CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/libexport PATH=$JAVA_HOME/bin:$PATHexport ANACONDA2_HOME=/opt/anaconda2export PATH=$ANACONDA2_HOME/bin:$PATHexport SPARK_HOME=/opt/spark-2.2.0-bin-hadoop2.7export PYTHONPATH=$SPARK_HOME/python:$SPARK_HOME/python/lib/py4j-0.10.4-src.zip:$PYTHONPATHexport XDG_RUNTIME_DIR="/home/test/.jupyter" 本文作者: Evan Zheng 本文链接: https://vyspace.github.io/ai/hadoop-add/ 版权声明: 本博客所有文章除特别声明外,均采用 CC BY-NC-SA 3.0 许可协议。转载请注明出处!