at org.apache.spark.repl.Main$.initializeLogIfNecessary(Main.scala:30)at org.apache.spark.repl.Main$.<init>(Main.scala:32)at org.apache.spark.repl.Main$.<clinit>(Main.scala)at org.apache.spark.repl.Main.main(Main.scala)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun...
试试在spark-env.sh中设置: export SPARK_MASTER_IP=127.0.0.1 export SPARK_LOCAL_IP=127.0.0...