启动spark-shell报错:

ERROR SparkContext: Error initializing SparkContext.
java.net.BindException: Can't assign requested address: Service 'sparkDriver' failed after 16 retries (on a random free port)! Consider explicitly setting the appropriate binding address for the service 'sparkDriver' (for example spark.driver.bindAddress for SparkDriver) to the correct binding address.

单机启动spark-shell失败:localhost被改变导致的问题

原来是host被改了:

单机启动spark-shell失败:localhost被改变导致的问题

不再是localhost

改回来就行:

单机启动spark-shell失败:localhost被改变导致的问题

 

参考:https://stackoverflow.com/questions/44914144/error-sparkcontext-error-initializing-sparkcontext-java-net-bindexception-can/44916827

 

 

 

相关文章:

  • 2022-12-23
  • 2021-08-04
  • 2021-11-15
  • 2022-12-23
  • 2021-04-17
  • 2021-05-13
  • 2022-12-23
  • 2021-12-25
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-01-10
  • 2022-12-23
  • 2021-07-18
  • 2021-07-03
  • 2021-10-12
相关资源
相似解决方案