title: Yarn UI shows no active node while it appeared in HDFS UI
body: <p>I've setup Hadoop in my laptop,
  and when I submit a job on Hadoop (though MapReduce and Tez),
  the status always ACCEPTED, but the progress always stuck at 0% and description wrote something like "waiting for AM container to be allocated". </p>
  
  <p>When I check the node through YARN UI(localhost:8088),
  it shows that the active node is 0 </p>
  
  <p><a href="https://i.stack.imgur.com/ZYlcL.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZYlcL.jpg" alt="enter image description here"></a></p>
  
  <p>But from HDFS UI(localhost:50070), it shows that there are one live node.</p>
  
  <p><a href="https://i.stack.imgur.com/FPIyX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/FPIyX.jpg" alt="enter image description here"></a></p>
  
  <p>Is that the main reason that cause the job stuck since there are no available node? If that's the case, what should I do?</p>