错误提示如下:
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文件更新映射关系即可。