Repository: incubator-slider
Updated Branches:
  refs/heads/develop c288cddf8 -> fbeb02e64


Reflecting new yarn rmadmin syntax for labels


Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/fbeb02e6
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/fbeb02e6
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/fbeb02e6

Branch: refs/heads/develop
Commit: fbeb02e642020f87f9b4b3a7393f995f1fe1dd53
Parents: c288cdd
Author: Sumit Mohanty <[email protected]>
Authored: Fri Oct 24 20:13:53 2014 -0700
Committer: Sumit Mohanty <[email protected]>
Committed: Fri Oct 24 20:13:53 2014 -0700

----------------------------------------------------------------------
 .../lifecycle/AppsThroughAgentQueueAndLabelsIT.groovy        | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/fbeb02e6/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AppsThroughAgentQueueAndLabelsIT.groovy
----------------------------------------------------------------------
diff --git 
a/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AppsThroughAgentQueueAndLabelsIT.groovy
 
b/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AppsThroughAgentQueueAndLabelsIT.groovy
index eb5baae..810903a 100644
--- 
a/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AppsThroughAgentQueueAndLabelsIT.groovy
+++ 
b/slider-funtest/src/test/groovy/org/apache/slider/funtest/lifecycle/AppsThroughAgentQueueAndLabelsIT.groovy
@@ -31,8 +31,8 @@ import org.junit.Test
 
 /**
  * SETUP FOR THE TEST
- * Create valid labels, red and blue [yarn rmadmin -addLabels red,blue]
- * Add nodes with label [yarn rmadmin -setNodeToLabels host1:blue]
+ * Create valid labels, red and blue [yarn rmadmin -addToClusterNodeLabels 
red,blue]
+ * Add nodes with label [yarn rmadmin -replaceLabelsOnNode host1,red,blue]
  * Perform refresh queue [yarn rmadmin -refreshQueues]
  *
  * Create a queue with access to labels - these are changes to capacity 
scheduler configuration
@@ -45,7 +45,9 @@ import org.junit.Test
  *       yarn.scheduler.capacity.root.labeled.state=RUNNING
  *       yarn.scheduler.capacity.root.labeled.maximum-capacity=80
  *   Have queue access the label
- *       yarn.scheduler.capacity.root.labeled.labels=red,blue
+ *       yarn.scheduler.capacity.root.labeled.accessible-node-labels=red,blue
+ *       
yarn.scheduler.capacity.root.labeled.accessible-node-labels.blue.capacity=100
+ *       
yarn.scheduler.capacity.root.labeled.accessible-node-labels.red.capacity=100
  *
  * After specifying the new configuration call refresh [yarn rmadmin 
-refreshQueues]
  *

Reply via email to