SPARK Initial job has not accepted any resources; check your cluster UI to ensure that workers are

Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources

 

1、查看spark-env.sh是否指定了SPARK_MASTER_IP =192.168.1.100(或主机名、localhost) 是IP地址填写spark://IP:7077,主机名的spark://主机名:7077

2、我是用Spark-Submit.sh 提交的,具体见图

posted @ 2022-05-29 08:31  田领群  阅读(311)  评论(0编辑  收藏  举报