title: YarnApplicationState: ACCEPTED: waiting for AM container to be allocated, launched and register
body: <p>I am new to Hadoop ecosystem.</p>
  
  <p>I recently tried Hadoop (2.7.1) on a single-node Cluster without any problems and decided to move on to a Multi-node cluster having 1 namenode and 2 datanodes.</p>
  
  <p>However I am facing a weird issue. <strong>Whatever Jobs that I try to run, are stuck with the following message:</strong></p>
  
  <p>on the web interface:</p>
  
  <pre><code>YarnApplicationState: ACCEPTED: waiting for AM container to be allocated, launched and register
  </code></pre>
  
  <p>and in the cli:</p>
  
  <pre><code>16/01/05 17:52:53 INFO mapreduce.Job: Running job: job_1451083949804_0001
  </code></pre>
  
  <p>They don't even start and at this point I am not sure what changes I need to make in order to make it work.</p>
  
  <p><strong>Here's what I have tried to resolve:</strong></p>
  
  <ol>
  <li>disabling firewall on all nodes</li>
  <li>setting lower resource limits</li>
  <li>configuring under different machines, routers and distros</li>
  </ol>
  
  <p>I would really appreciate any help (even a minute hint) in correct direction.</p>
  
  <p><strong>I have followed these instructions (configuration):</strong></p>
  
  <ul>
  <li><p><a href="http://www.michael-noll.com/tutorials/running-hadoop-on-ubuntu-linux-multi-node-cluster/" rel="noreferrer">Running Hadoop on Ubuntu Linux (Multi-Node Cluster)</a></p></li>
  <li><p><a href="http://arturmkrtchyan.com/how-to-setup-multi-node-hadoop-2-yarn-cluster" rel="noreferrer">How To Setup Multi Node Hadoop 2 (YARN) Cluster</a></p></li>
  </ul>