报错:
1.hadoop01: failed to launch: nice -n 0
2.hadoop01: JAVA_HOME is not set
解决办法:
修改:spark-env.sh,添加
export JAVA_HOME=/home/soft/jdk1.8.0_333
export SPARK_MASTER_IP=hadoop01
export SPARK_MASTER_PORT=7077
然后重启:
报错:
1.hadoop01: failed to launch: nice -n 0
2.hadoop01: JAVA_HOME is not set
解决办法:
修改:spark-env.sh,添加
export JAVA_HOME=/home/soft/jdk1.8.0_333
export SPARK_MASTER_IP=hadoop01
export SPARK_MASTER_PORT=7077
然后重启: