AMBARI-2346 - API call to get metrics/cpu does not work for NameNode and JobTracker host components

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1492029 13f79535-47bb-0310-9956-ffa450edef68