title: HADOOP YARN - Application is added to the scheduler and is not yet activated. Skipping AM assignment as cluster resource is empty
body: <p>I am evaluating YARN for a project. I am trying to get the simple distributed shell example to work. I have gotten the application to the SUBMITTED phase, but it never starts. This is the information reported from this line:</p>
  
  <pre><code>ApplicationReport report = yarnClient.getApplicationReport(appId);
  </code></pre>
  
  <p><code>Application is added to the scheduler and is not yet activated. Skipping AM assignment as cluster resource is empty.  Details : AM Partition = DEFAULT_PARTITION; AM Resource Request = memory:1024, vCores:1; Queue Resource Limit for AM = memory:0, vCores:0; User AM Resource Limit of the queue = memory:0, vCores:0; Queue AM Resource Usage = memory:128, vCores:1;</code> </p>
  
  <p>The solutions for other developers seems to have to increase <code>yarn.scheduler.capacity.maximum-am-resource-percent</code> in the yarn-site.xml file from its default value of <strong>.1</strong>. I have tried values of <strong>.2</strong> and <strong>.5</strong> but it does not seem to help. </p>