[ 
https://issues.apache.org/jira/browse/AMBARI-19451?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sangeeta Ravindran updated AMBARI-19451:
----------------------------------------
       Resolution: Fixed
    Fix Version/s: trunk
           Status: Resolved  (was: Patch Available)

Commited to branch 2.5 as

commit f90599ad3f43a835bbb8114d339ab8a6af4a7f1f
Author: Sangeeta Ravindran <[email protected]>
Date:   Mon Jan 16 13:10:41 2017 -0800

AMBARI-19451: When defining 
yarn.scheduler.capacity.<queue-path>.accessible-node-labels with space, Yarn 
Queue Manager shows error for the queue (sangeetar)

Commited to trunk as

commit e0552d62e8229ee2cbbca216c491e3234b624d4d
Author: Sangeeta Ravindran <[email protected]>
Date:   Mon Jan 16 14:12:06 2017 -0800

    AMBARI-19451: When defining 
yarn.scheduler.capacity.<queue-path>.accessible-node-labels with space, Yarn 
Queue Manager shows error for the queue (sangeetar)


> 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: trunk, 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)

Reply via email to