Sangeeta Ravindran created AMBARI-19451:
-------------------------------------------
Summary: When defining
yarn.scheduler.capacity.<queue-path>.accessible-node-labels with space, Yarn
Queue Manager shows error for the queue
Key: AMBARI-19451
URL: https://issues.apache.org/jira/browse/AMBARI-19451
Project: Ambari
Issue Type: Bug
Components: ambari-views
Affects Versions: 2.5.0
Environment: Per the Apache documentation for Yarn Node Labels
(http://hadoop.apache.org/docs/r2.7.3/hadoop-yarn/hadoop-yarn-site/NodeLabel.html),
queues that can only access nodes without labels are defined by setting the
property "yarn.scheduler.capacity.<queue-path>.accessible-node-labels" with
space as the value.
Reproduction Steps:
1. In the Capacity Scheduler view (Yarn Queue Manager), create queues q1,q2,
and set accessible node labels for root,q1,q2 but not for default queue
2. Since there is no way to specify a "space" as the value for accessible node
labels via Yarn Queue Manager, add this property manually via yarn configs.
i.e. In Yarn -> Configs -> Scheduler, manually add
yarn.scheduler.capacity.root.default.accessible-node-labels= (space after the =)
3. Save the configuration and restart Resource Manager as required
4. Return to Yarn Queue Manager, and click the default queue. It shows an error
- Label is not exist on cluster.
Reporter: Sangeeta Ravindran
Assignee: Sangeeta Ravindran
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)