启动时候,发现 启动时报异常,JAVA_HOME is not set. spark在sbin目录下的配置文件添加JAVA_HOME export JAVA_HOME=/usr/local/jdk 问题解决