-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26367/
-----------------------------------------------------------
Review request for Ambari and Dmytro Sen.
Bugs: AMBARI-7650
https://issues.apache.org/jira/browse/AMBARI-7650
Repository: ambari
Description
-------
For current URI:
http://c6402.ambari.apache.org:8080/api/v1/clusters/c1/components/?ServiceComponentInfo/category=MASTER&fields=*
we get :
{
"href" :
"http://c6402.ambari.apache.org:8080/api/v1/clusters/c1/components/GANGLIA_SERVER",
"ServiceComponentInfo" : {
"category" : "MASTER",
"cluster_name" : "c1",
"component_name" : "GANGLIA_SERVER",
"installed_count" : 0,
"service_name" : "GANGLIA",
"started_count" : 1,
"state" : "STARTED",
"total_count" : 1
},
"metrics" : {
"api" : {
"v1" : {
"cluster" : {
"summary" : {
"executorsTotal" : 28.0,
"nimbusUptime" : "2d 19h 28m 31s",
"slotsFree" : 0.0,
"slotsTotal" : 2.0,
"slotsUsed" : 2.0,
"supervisors" : 1.0,
"tasksTotal" : 28.0
}
},
Diffs
-----
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/StackDefinedPropertyProvider.java
32411e9
ambari-server/src/main/java/org/apache/ambari/server/controller/metrics/RestMetricsPropertyProvider.java
48d06b8
Diff: https://reviews.apache.org/r/26367/diff/
Testing
-------
mvn clean test
Thanks,
Andrew Onischuk