-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/19785/
-----------------------------------------------------------
(Updated March 28, 2014, 11:27 p.m.)
Review request for Ambari and Tom Beerbower.
Bugs: AMBARI-5261
https://issues.apache.org/jira/browse/AMBARI-5261
Repository: ambari
Description
-------
Yarn metrics are missing from NODEMANAGER host component
Diffs
-----
ambari-server/src/main/resources/stacks/HDP/2.0.6/services/YARN/metrics.json
eda7144
Diff: https://reviews.apache.org/r/19785/diff/
Testing (updated)
-------
Tested manual. API responses after applying the patch:
{
"href" :
"http://192.168.56.101:8080/api/v1/clusters/c1/services/YARN/components/NODEMANAGER",
"ServiceComponentInfo" : {
"category" : "SLAVE",
"cluster_name" : "c1",
"component_name" : "NODEMANAGER",
"service_name" : "YARN",
"state" : "STARTED"
},
"metrics" : {
"yarn" : {
"AllocatedContainers" : 0.0,
"AllocatedGB" : 0.0,
"AvailableGB" : 2.0,
"ContainersCompleted" : 0.0,
"ContainersFailed" : 0.0,
"ContainersIniting" : 0.0,
"ContainersKilled" : 0.0,
"ContainersLaunched" : 0.0,
"ContainersRunning" : 0.0
}
},
"host_components" : [
{
"href" :
"http://192.168.56.101:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/NODEMANAGER",
"HostRoles" : {
"cluster_name" : "c1",
"component_name" : "NODEMANAGER",
"host_name" : "dev01.hortonworks.com"
}
}
]
}
Test results:
OK
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Ambari Main ....................................... SUCCESS [0.733s]
[INFO] Apache Ambari Project POM ......................... SUCCESS [0.264s]
[INFO] Ambari Web ........................................ SUCCESS [24.895s]
[INFO] Ambari Views ...................................... SUCCESS [9.271s]
[INFO] Ambari Server ..................................... SUCCESS [27:51.010s]
[INFO] Ambari Agent ...................................... SUCCESS [21.453s]
[INFO] Ambari Client ..................................... SUCCESS [0.752s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
Thanks,
Artem Baranchuk