Mac spark-shell Error initializing SparkContext

前端 未结 12 1046
礼貌的吻别
礼貌的吻别 2020-12-07 09:26

I tried to start spark 1.6.0 (spark-1.6.0-bin-hadoop2.4) on Mac OS Yosemite 10.10.5 using

\"./bin/spark-shell\". 

It has the error below.

12条回答
  •  借酒劲吻你
    2020-12-07 09:44

    Sometimes firewall prevents creating and binding a socket. make sure that your firewall is not enable and also you have to check the ip of your machine in /etc/hosts and make sure it's OK then try again:

    sudo ufw disable
    

提交回复
热议问题