spark submit “Service 'Driver' could not bind on port” error

前端 未结 9 1950
醉酒成梦
醉酒成梦 2021-01-04 20:49

I used the following command to run the spark java example of wordcount:-

time spark-submit --deploy-mode cluster --master spark://192.168.0.7:6066 --class o         


        
9条回答
  •  执笔经年
    2021-01-04 21:19

    You need to enter the hostname in your /etc/hosts file. Something like:

    127.0.0.1   localhost "hostname"
    

提交回复
热议问题