Hu Ziqian created YARN-8743:
-------------------------------

             Summary: capacity scheduler doesn't set node label to reserved 
container
                 Key: YARN-8743
                 URL: https://issues.apache.org/jira/browse/YARN-8743
             Project: Hadoop YARN
          Issue Type: Bug
          Components: capacity scheduler, scheduler preemption
            Reporter: Hu Ziqian


capacity scheduler doesn't set node label when new a reserved container's 
RMContainerImpl and when allocate this container, leafQueue will treat it as a 
ignorePartitionExclusivityRMContainer.

This bug will cause preempt failure. When preempt happens, the preemption 
policy will try to preempt the reserved container while leafQueue doesn't 
remove it from ignorePartitionExclusivityRMContainers. In our cluster, we found 
that preemption policy will always try to preempt the reserved container and 
actually preempt nothing.

We set the node label information to  reserved container's RMContainerImpl and 
redo our test. The preemption performs as expected.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to