pyspark spark-shell无法指定被请求的地址: Service 'sparkDriver' failed after 16 retries (on a random free port)

新地址:https://blog.iaiot.com/pyspark-spark-shell-sparkDriver-failed.html

原文:https://stackoverflow.com/questions/49654050/could-not-bind-on-a-random-free-port-error-while-trying-to-connect-to-spark-mast

spark bin/pyspark 和 bin/spark-shell 报 无法指定被请求的地址: Service 'sparkDriver' failed after 16 retries (on a random free port)

pyspark -c spark.driver.bindAddress=127.0.0.1

 

 

安装:下载解压

配置:

vim /conf/spark-env.sh

export  SPARK_MASTER_HOST=192.168.0.200

export  SPARK_LOCAL_IP=192.168.0.200

启动:

./sbin/start-master.sh

pyspark spark-shell无法指定被请求的地址: Service 'sparkDriver' failed after 16 retries (on a random free port)_第1张图片

你可能感兴趣的:(Spark,Hadoop)