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: enter image description here

and log shows there 0 mb allocated: enter image description here

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

Popular posts from this blog

python Tkinter Capturing keyboard events save as one single string -

android - InAppBilling registering BroadcastReceiver in AndroidManifest -

javascript - Z-index in d3.js -