[ 
https://issues.apache.org/jira/browse/YARN-8138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Zian Chen updated YARN-8138:
----------------------------
    Description: 
Add unit test to validate queue priority preemption works under node partition.

Test configuration:
 queue A (capacity=50, priority=1)
 queue B (capacity=50, priority=2)
 both have accessible-node-labels set to x
 A.accessible-node-labels.x.capacity = 50
 B.accessible-node-labels.x.capacity = 50
 Along with this pre-emption related properties have been set.

Test steps:
 - Submit an application A1 to B, with am-container = container = 4096, no. of 
containers = 4
 - Submit an application A2 to A, with am-container = 1024, container = 2048, 
no of containers = (NUM_NM-1)
 - Kill application A1
 - Submit an application A3 to B with am-container=container=5210, no. of 
containers=NUM_NM
 - Expectation is that containers are pre-empted from application A2 to A3

  was:
Add unit test to validate queue priority preemption works under node partition.

Test configuration:
queue A (capacity=50, priority=1)
queue B (capacity=50, priority=2)
both have accessible-node-labels set to x
A.accessible-node-labels.x.capacity = 50
B.accessible-node-labels.x.capacity = 50
Along with this pre-emption related properties have been set.

Test steps:
 - Submit an application A1 to B, with am-container = container = 4096, no. of 
containers = 4
 - Submit an application A2 to A, with am-container = 1024, container = 2048, 
no of containers = (NUM_NM-1)
 - Kill application A1
 - Submit an application A3 to B with am-container=container=5210, no. of 
containers=NUM_NM
 - Expectation is that containers are pre-empted from application A2 to A3 but 
there is no container pre-emption happening


> Add unit test to validate queue priority preemption works under node 
> partition.
> -------------------------------------------------------------------------------
>
>                 Key: YARN-8138
>                 URL: https://issues.apache.org/jira/browse/YARN-8138
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Charan Hebri
>            Assignee: Zian Chen
>            Priority: Minor
>         Attachments: YARN-8138.001.patch, YARN-8138.002.patch
>
>
> Add unit test to validate queue priority preemption works under node 
> partition.
> Test configuration:
>  queue A (capacity=50, priority=1)
>  queue B (capacity=50, priority=2)
>  both have accessible-node-labels set to x
>  A.accessible-node-labels.x.capacity = 50
>  B.accessible-node-labels.x.capacity = 50
>  Along with this pre-emption related properties have been set.
> Test steps:
>  - Submit an application A1 to B, with am-container = container = 4096, no. 
> of containers = 4
>  - Submit an application A2 to A, with am-container = 1024, container = 2048, 
> no of containers = (NUM_NM-1)
>  - Kill application A1
>  - Submit an application A3 to B with am-container=container=5210, no. of 
> containers=NUM_NM
>  - Expectation is that containers are pre-empted from application A2 to A3



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: yarn-issues-h...@hadoop.apache.org

Reply via email to