编辑spark-env.sh
export LD_LIBRARY_PATH=/usr/lib64:/usr/hdp/2.2.6.0-2800/hadoop/lib/native/Linux-amd64-64
export HADOOP_CONF_DIR=/etc/hadoop/conf
export YARN_CONF_DIR=/etc/hadoop/conf
export SPARK_CLASSPATH=${SPARK_CLASSPATH}:/usr/hdp/current/share/lzo/0.6.0/lib/hadoop-lzo-0.6.0.jar
时间: 2024-10-07 04:11:26