-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/55993/
-----------------------------------------------------------
Review request for Ambari, Di Li and Gaurav Nagar.
Bugs: AMBARI-19680
https://issues.apache.org/jira/browse/AMBARI-19680
Repository: ambari
Description
-------
1. Enable Node Labels and restart Yarn.
2. Add some node labels using the command below:
[yarn@turns1 ~]$ yarn rmadmin -addToClusterNodeLabels "high_cpu,high_mem"
[yarn@turns1 ~]$ yarn rmadmin -replaceLabelsOnNode "<host_name>=high_cpu
<host_name>=high_mem"
3. Go to Capacity Scheduler view, click root queue, by default the "Enable node
labels" button has been checked.
4. Click "*" button beside "Node Label Access", it will automatically make all
node labels (high_cpu, high_mem) selected. Change capacity for the 2 node
labels to 100%.
5. Click this button again, it should de-select the node labels, but it
doesn't.
This seems to happen because the list of labels for the selected queue is not
cleared when the "*" button is deselected.
Diffs
-----
contrib/views/capacity-scheduler/src/main/resources/ui/app/models/queue.js
df0c684
Diff: https://reviews.apache.org/r/55993/diff/
Testing
-------
Manual Testing. Enabling disabling the * button. Ran mvn test.
Thanks,
Sangeeta Ravindran