hadoop - waiting for AM container to be allocated, launched and register with RM -
when started hadoop example wordcount, stuck @ 'running job: job_1502778007453_0001'. following pictures show detail:
and log shows there 0 mb allocated:
i have tried many methods related none of them work. know how figure out?
for me following did trick:
edit $hadoop_home/etc/hadoop/capacity-scheduler.xml , change following property value 0.1 higher. changed 0.5 (50%)
<property> <name>yarn.scheduler.capacity.maximum-am-resource-percent</name> <value>0.5</value> <description> maximum percent of resources in cluster can used run application masters i.e. controls number of concurrent running applications. </description> </property>
you may have allocate more memory yarn editing yarn-site.xml updating following property:
<property> <name>yarn.nodemanager.resource.memory-mb</name> <value>8192</value> </property>
Comments
Post a Comment