All masters are unresponsive ! ? Spark master is not responding with datastax architecture

核能气质少年 提交于 2020-01-03 04:35:10

问题


Tried using both Spark shell and Spark submit, getting this exception?

Initializing SparkContext with MASTER: spark://1.2.3.4:7077
    ERROR 2015-06-11 14:08:29 org.apache.spark.scheduler.cluster.SparkDeploySchedulerBackend: Application has been killed. Reason: All masters are unresponsive! Giving up.
    WARN  2015-06-11 14:08:29 org.apache.spark.scheduler.cluster.SparkDeploySchedulerBackend: Application ID is not initialized yet.
    ERROR 2015-06-11 14:08:30 org.apache.spark.scheduler.TaskSchedulerImpl: Exiting due to error from cluster scheduler: All masters are unresponsive! Giving up.

回答1:


Make sure the URL for the master is correct, and that the master is still alive.

You can check what the correct URL should be by going to the spark web UI in your browser. If you are running the master locally try typing localhost:8080 into any browser window.

Here is more about the web UI https://spark.apache.org/docs/1.2.0/monitoring.html



来源:https://stackoverflow.com/questions/30782800/all-masters-are-unresponsive-spark-master-is-not-responding-with-datastax-ar

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!