This View provides a UI to manage queues for the YARN Capacity Scheduler.
The view can be built as a maven project.
mvn clean install
The build will produce the view archive.
target/capacity-scheduler-0.2.0-SNAPSHOT.jar
Place the view archive on the Ambari Server and restart to deploy.
cp capacity-scheduler-0.2.0-SNAPSHOT /var/lib/ambari-server/resources/views/
ambari-server restart
Use the Ambari Vagrant setup to create a cluster:
Deploy the Capacity Scheduler view into Ambari.
cp capacity-scheduler-0.2.0-SNAPSHOT /var/lib/ambari-server/resources/views/
ambari-server restart
From the Ambari Administration interface, create a view instance.
Property | Value |
---|---|
Details: Instance Name | CS_1 |
Details: Display Name | Queue Manager |
Details: Description | Browse and manage YARN Capacity Scheduler queues |
Properties: ambari.server.url | http://c6401.ambari.apache.org:8080/api/v1/clusters/MyCluster |
Properties: ambari.server.username | admin |
Properties: ambari.server.password | password |
Login to Ambari and browse to the view instance.
http://c6401.ambari.apache.org:8080/#/main/views/CAPACITY-SCHEDULER/0.2.0/CS_1