hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tao Jie (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-4855) Should check if node exists when replace nodelabels
Date Thu, 02 Jun 2016 02:27:59 GMT

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

Tao Jie updated YARN-4855:
--------------------------
    Description: 
Today when we add nodelabels to nodes, it would succeed even if nodes are not existing NodeManger
in cluster without any message.
It could be like this:
When we use *yarn rmadmin -replaceLabelsOnNode "node1=label1"*, it would be denied if node
does not exist.
When we use *yarn rmadmin -replaceLabelsOnNode --fail-on-unkown-nodes "node1=label1"* would
add nodelabels no matter whether node exists

  was:
Today when we add nodelabels to nodes, it would succeed even if nodes are not existing NodeManger
in cluster without any message.
It could be like this:
When we use *yarn rmadmin -replaceLabelsOnNode "node1=label1"*, it would be denied if node
does not exist.
When we use *yarn rmadmin -replaceLabelsOnNode -force "node1=label1"* would add nodelabels
no matter whether node exists


> Should check if node exists when replace nodelabels
> ---------------------------------------------------
>
>                 Key: YARN-4855
>                 URL: https://issues.apache.org/jira/browse/YARN-4855
>             Project: Hadoop YARN
>          Issue Type: Improvement
>    Affects Versions: 2.6.0
>            Reporter: Tao Jie
>            Assignee: Tao Jie
>            Priority: Minor
>         Attachments: YARN-4855.001.patch, YARN-4855.002.patch, YARN-4855.003.patch
>
>
> Today when we add nodelabels to nodes, it would succeed even if nodes are not existing
NodeManger in cluster without any message.
> It could be like this:
> When we use *yarn rmadmin -replaceLabelsOnNode "node1=label1"*, it would be denied if
node does not exist.
> When we use *yarn rmadmin -replaceLabelsOnNode --fail-on-unkown-nodes "node1=label1"*
would add nodelabels no matter whether node exists



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

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message