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 "Sumit Mohanty (JIRA)" <ji...@apache.org> on 2014/10/25 08:52:33 UTC

[jira] [Created] (YARN-2744) Under some scenario, it is possible to end up with capacity scheduler configuration that uses labels that no longer exist

Sumit Mohanty created YARN-2744:
-----------------------------------

             Summary: Under some scenario, it is possible to end up with capacity scheduler configuration that uses labels that no longer exist
                 Key: YARN-2744
                 URL: https://issues.apache.org/jira/browse/YARN-2744
             Project: Hadoop YARN
          Issue Type: Bug
          Components: capacityscheduler
    Affects Versions: 2.5.1
            Reporter: Sumit Mohanty
            Priority: Critical
             Fix For: 2.6.0


Use the following steps:

* Ensure default in-memory storage is configured for labels
* Define some labels and assign nodes to labels (e.g. define two labels and assign both labels to the host on a one host cluster)
* Invoke refreshQueues
* Modify capacity scheduler to create two top level queues and allow access to the labels from both the queues
* Assign appropriate "label + queue" specific capacities
* Restart resource manager

Noticed that RM starts without any issues. The labels are not preserved across restart and thus the capacity-scheduler ends up using labels that are no longer present.

At this point submitting an application to YARN will not succeed as there are no resources available with the labels.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)