IDEA运行spark程序报错Exception in thread "main" java.net.BindException: Cannot

错误提示如下:
Exception in thread “main” java.net.BindException: Cannot assign requested address: Service ‘sparkDriver’ failed after 16 retries (starting from 0)! Consider explicitly setting the appropriate port for the service ‘sparkDriver’ (for example spark.ui.port

问题发现:因为之前改了ip,导致ssh集群能用,hosts文件的映射没有改变,还是旧的。

解决方法:将IP改回原来,或者hosts文件更新映射关系即可。

上一篇:Linux下挂载镜像,并配置本地yum源


下一篇:Hive2.1.1 下hwi web界面的配置(超详细)