[ 
https://issues.apache.org/jira/browse/YARN-8992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16691681#comment-16691681
 ] 

Wilfred Spiegelenburg commented on YARN-8992:
---------------------------------------------

Updated patch with a fix for the checkstyle issues. [^YARN-8992.002.patch]
This patch also cleans up some other problems in the tests beside the 
checkstyle:
* move init code to the setup method
* remove unneeded init code in test methods
* add checks to make sure the change is really executed in the test 

> Fair scheduler can delete a dynamic queue while an application attempt is 
> being added to the queue
> --------------------------------------------------------------------------------------------------
>
>                 Key: YARN-8992
>                 URL: https://issues.apache.org/jira/browse/YARN-8992
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: fairscheduler
>    Affects Versions: 3.1.1
>            Reporter: Haibo Chen
>            Assignee: Wilfred Spiegelenburg
>            Priority: Major
>         Attachments: YARN-8992.001.patch, YARN-8992.002.patch
>
>
> As discovered in YARN-8990, QueueManager can see a leaf queue being empty 
> while FSLeafQueue.addApp() is called in the middle of      
> {code:java}
> return queue.getNumRunnableApps() == 0 &&
>           leafQueue.getNumNonRunnableApps() == 0 &&
>           leafQueue.getNumAssignedApps() == 0;{code}



--
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