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 "Bibin A Chundatt (JIRA)" <ji...@apache.org> on 2015/07/08 09:01:05 UTC
[jira] [Created] (YARN-3894) RM startup should fail for wrong CS
xml NodeLabel capacity configuration
Bibin A Chundatt created YARN-3894:
--------------------------------------
Summary: RM startup should fail for wrong CS xml NodeLabel capacity configuration
Key: YARN-3894
URL: https://issues.apache.org/jira/browse/YARN-3894
Project: Hadoop YARN
Issue Type: Bug
Components: capacityscheduler
Reporter: Bibin A Chundatt
Assignee: Bibin A Chundatt
Priority: Critical
Currently in capacity Scheduler when capacity configuration is wrong
RM shutdown is the current behaviour, but not incase of NodeLabels capacity mismatch
In {{CapacityScheduler#initializeQueues}}
{code}
private void initializeQueues(CapacitySchedulerConfiguration conf)
throws IOException {
root =
parseQueue(this, conf, null, CapacitySchedulerConfiguration.ROOT,
queues, queues, noop);
labelManager.reinitializeQueueLabels(getQueueToLabels());
root =
parseQueue(this, conf, null, CapacitySchedulerConfiguration.ROOT,
queues, queues, noop);
LOG.info("Initialized root queue " + root);
initializeQueueMappings();
setQueueAcls(authorizer, queues);
}
{code}
{{labelManager}} is initialized from queues and calculation for Label level capacity mismatch happens in {{parseQueue}} . So during initialization {{parseQueue}} the labels will be empty .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)