[jira] [Updated] (YARN-2740) RM AdminService should prevent admin change labels on nodes when distributed node label configuration enabled

2015-03-19 Thread Naganarasimha G R (JIRA)

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

Naganarasimha G R updated YARN-2740:

Attachment: YARN-2740.20150320-1.patch

Hi [~wangda],
As per your  
[comment|https://issues.apache.org/jira/browse/YARN-2495?focusedCommentId=14353353page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-14353353]
 in YARN-2495,
bq. when distributed node label configuration is set, any direct modify node to 
labels mapping from RMAdminCLI should be rejected (like -replaceNodeToLabels). 
This can be done in a separated JIRA.
As there was jira already existing for it, taking over this jira and also it 
was requiring a similar check for RMWebServices flow so added a check and test 
case for the same   

 RM AdminService should prevent admin change labels on nodes when distributed 
 node label configuration enabled
 -

 Key: YARN-2740
 URL: https://issues.apache.org/jira/browse/YARN-2740
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: resourcemanager
Reporter: Wangda Tan
Assignee: Wangda Tan
 Attachments: YARN-2740-20141024-1.patch, YARN-2740.20150320-1.patch


 According to YARN-2495, labels of nodes will be specified when NM do 
 heartbeat. We shouldn't allow admin modify labels on nodes when distributed 
 node label configuration enabled.



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


[jira] [Updated] (YARN-2740) RM AdminService should prevent admin change labels on nodes when distributed node label configuration enabled

2014-10-24 Thread Wangda Tan (JIRA)

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

Wangda Tan updated YARN-2740:
-
Summary: RM AdminService should prevent admin change labels on nodes when 
distributed node label configuration enabled  (was: RM NodeLabelsManager should 
prevent admin change labels on nodes when distributed node label configuration 
enabled)

 RM AdminService should prevent admin change labels on nodes when distributed 
 node label configuration enabled
 -

 Key: YARN-2740
 URL: https://issues.apache.org/jira/browse/YARN-2740
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: resourcemanager
Reporter: Wangda Tan
Assignee: Wangda Tan

 According to YARN-2495, labels of nodes will be specified when NM do 
 heartbeat. We shouldn't allow admin modify labels on nodes when distributed 
 node label configuration enabled.



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


[jira] [Updated] (YARN-2740) RM AdminService should prevent admin change labels on nodes when distributed node label configuration enabled

2014-10-24 Thread Wangda Tan (JIRA)

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

Wangda Tan updated YARN-2740:
-
Attachment: YARN-2740-20141024-1.patch

Attached a patch for this, read the distributed-configuration-enabled from conf 
is not implemented, will add that part after YARN-2495 committed.

 RM AdminService should prevent admin change labels on nodes when distributed 
 node label configuration enabled
 -

 Key: YARN-2740
 URL: https://issues.apache.org/jira/browse/YARN-2740
 Project: Hadoop YARN
  Issue Type: Sub-task
  Components: resourcemanager
Reporter: Wangda Tan
Assignee: Wangda Tan
 Attachments: YARN-2740-20141024-1.patch


 According to YARN-2495, labels of nodes will be specified when NM do 
 heartbeat. We shouldn't allow admin modify labels on nodes when distributed 
 node label configuration enabled.



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