单机运行spark-shell出现ERROR Remoting: Remoting error: [Startup failed]

从现象来看应该akka不能绑定到ip或者端口,于是google找到答案,http://mail-archives.apache.org/mod_mbox/spark-user/201402.mbox/%[email protected]%3E

只要将conf/spark-env.sh添加两个环境变量:

export SPARK_MASTER_IP=localhost
export SPARK_LOCAL_IP=localhost

你可能感兴趣的:(spark)