title: YARN allocating containers on a particular node
body: <p>all
  I am developing a Yarn application which request allocating containers on a particular node recently.
  I write my code like this: </p>
  
  <pre><code>String[] nodes = {…};
  ContainerRequest request = new ContainerRequest(capability, nodes, null, priority, false, null);
  </code></pre>
  
  <p>I have set the Relax_Locality as false, and set yarn.scheduler.capacity.node-locality-delay as -1, but I still can’t get the specific container I asked for.
  Can someone help me?
  Thanks very much!</p>