ambari-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-19451) When defining yarn.scheduler.capacity.<queue-path>.accessible-node-labels with space, Yarn Queue Manager shows error for the queue
Date Mon, 16 Jan 2017 21:50:26 GMT

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

Hudson commented on AMBARI-19451:
---------------------------------

SUCCESS: Integrated in Jenkins build Ambari-branch-2.5 #725 (See [https://builds.apache.org/job/Ambari-branch-2.5/725/])
AMBARI-19451: When defining (sangeetar: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=f90599ad3f43a835bbb8114d339ab8a6af4a7f1f])
* (edit) contrib/views/capacity-scheduler/src/main/resources/ui/app/templates/components/queueContainer.hbs
* (edit) contrib/views/capacity-scheduler/src/main/resources/ui/app/serializers.js


> 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
>            Reporter: Sangeeta Ravindran
>            Assignee: Sangeeta Ravindran
>             Fix For: 2.5.0
>
>         Attachments: AMBARI-19451.patch, Error.jpg, YarnConfig.jpg
>
>
> 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.



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

Mime
View raw message