title: MapReduce jobs get stuck in Accepted state
body: <p>I have my own MapReduce code that I'm trying to run, but it just stays at Accepted state. I tried running another sample MR job that I'd run previously and which was successful. But now, both the jobs stay in Accepted state. I tried changing various properties in the mapred-site.xml and yarn-site.xml as mentioned <a href="http://mail-archives.apache.org/mod_mbox/hadoop-common-user/201306.mbox/%3C8E26A2C9-2812-446F-BC38-ED4EF9002ADA@hortonworks.com%3E">here</a> and <a href="http://answers.mapr.com/questions/3408/map-tasks-are-not-started-status-pending">here</a> but that didn't help either. Can someone please point out what could possibly be going wrong. I'm using hadoop-2.2.0</p>
  
  <p>I've tried many values for the various properties, here is one set of values-
  In mapred-site.xml</p>
  
  <pre><code>&lt;property&gt;
  &lt;name&gt;mapreduce.job.tracker&lt;/name&gt;
  &lt;value&gt;localhost:54311&lt;/value&gt;
  &lt;/property&gt; 
  
  &lt;property&gt;
  &lt;name&gt;mapreduce.job.tracker.reserved.physicalmemory.mb&lt;/name&gt;
  &lt;value&gt;&lt;/value&gt;
  &lt;/property&gt;
  
  &lt;property&gt;
  &lt;name&gt;mapreduce.map.memory.mb&lt;/name&gt;
  &lt;value&gt;256&lt;/value&gt;
  &lt;/property&gt;
  
  &lt;property&gt;
  &lt;name&gt;mapreduce.reduce.memory.mb&lt;/name&gt;
  &lt;value&gt;256&lt;/value&gt;
  &lt;/property&gt;
  
  
  &lt;property&gt;
  &lt;name&gt;yarn.app.mapreduce.am.resource.mb&lt;/name&gt;
  &lt;value&gt;400&lt;/value&gt;
  &lt;source&gt;mapred-site.xml&lt;/source&gt;
  &lt;/property&gt;
  </code></pre>
  
  <p>In yarn-site.xml</p>
  
  <pre><code>&lt;property&gt;
  &lt;name&gt;yarn.nodemanager.resource.memory-mb&lt;/name&gt;
  &lt;value&gt;400&lt;/value&gt;
  &lt;source&gt;yarn-site.xml&lt;/source&gt;
  &lt;/property&gt;
  &lt;property&gt;
  &lt;name&gt;yarn.scheduler.capacity.maximum-am-resource-percent&lt;/name&gt;
  &lt;value&gt;.3&lt;/value&gt;
  &lt;/property&gt;
  </code></pre>