码迷,mamicode.com
首页 > 其他好文 > 详细

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

时间:2021-04-19 15:56:23      阅读:0      评论:0      收藏:0      [点我收藏+]

标签:进程   ensure   http   job   注册   类别   category   resource   run   

解决问题-》有的放矢
1.spark 报错 Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources
有道翻译:检查您的集群UI,以确保worker已经注册并拥有足够的资源
前提: worker已经激活
再检查资源:打开http://192.168.200.11:8080/
发现 running 发现进程过多,可能导致资源不足,遂关闭进程,重新执行。
解决。
2.Operation category READ is not supported in state standby
有道翻译:在standby状态下不支持操作类别读取

/usr/app/hadoop-2.7.3/bin/hdfs  haadmin  -transitionToActive --forcemanual nn1 //(nn1过渡到active状态)
/usr/app/hadoop-2.7.3/bin/hdfs  haadmin  -transitionToStandby --forcemanual nn2 //(nn2过渡到standby状态)

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

标签:进程   ensure   http   job   注册   类别   category   resource   run   

原文地址:https://www.cnblogs.com/ni-a/p/14670756.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!