You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Jonathan Hung (JIRA)" <ji...@apache.org> on 2017/03/11 02:08:04 UTC

[jira] [Commented] (YARN-6327) Removing queues from CapacitySchedulerQueueManager and ParentQueue should be done with iterator

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

Jonathan Hung commented on YARN-6327:
-------------------------------------

Uploaded a patch for this issue. [~xgong]/[~Naganarasimha], do you mind taking a look? Thanks!

> Removing queues from CapacitySchedulerQueueManager and ParentQueue should be done with iterator
> -----------------------------------------------------------------------------------------------
>
>                 Key: YARN-6327
>                 URL: https://issues.apache.org/jira/browse/YARN-6327
>             Project: Hadoop YARN
>          Issue Type: Bug
>          Components: capacityscheduler
>            Reporter: Jonathan Hung
>            Assignee: Jonathan Hung
>         Attachments: YARN-6327.001.patch
>
>
> e.g. in {{CapacitySchedulerQueueManager}} {noformat}    for (Map.Entry<String, CSQueue> e : existingQueues.entrySet()) {
>       String queueName = e.getKey();
>       if (!newQueues.containsKey(queueName)) {
>         existingQueues.remove(queueName);
>       }
>     }{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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