环境配置:电脑8g内存,用4个虚拟机组分布式集群,namenode,2g内存,三个datanode,512m内存。
问题:执行wordcount,发现程序卡住了,,
log提示waiting for AM container to be allocated, launched and register with RM。
yarn的日志提示: WARN org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.LeafQueue: maximum-am-resource-percent
is insufficient to start a single application in queue for user, it is likely set too low. skipping enforcement to allow at least one application to start。
于是我将capacity-scheduler.xml的maximum-am-resource-percent 改到90,依然是这个提示信息。应该怎么办?