You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2013/08/02 20:46:29 UTC
[2/3] AMBARI-2799. YARN service summary additional information.
(onechiporenko via srimanth)
http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/09c2ddae/ambari-web/app/assets/data/dashboard/HDP2/services.json
----------------------------------------------------------------------
diff --git a/ambari-web/app/assets/data/dashboard/HDP2/services.json b/ambari-web/app/assets/data/dashboard/HDP2/services.json
index 3d45390..b1b4b7f 100644
--- a/ambari-web/app/assets/data/dashboard/HDP2/services.json
+++ b/ambari-web/app/assets/data/dashboard/HDP2/services.json
@@ -1,135 +1,135 @@
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services?fields=components/ServiceComponentInfo,components/host_components,components/host_components/HostRoles",
- "items": [
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services?fields=components/ServiceComponentInfo,components/host_components,components/host_components/HostRoles,components/host_components/metrics/jvm/memHeapUsedM,components/host_components/metrics/jvm/memHeapCommittedM,components/host_components/metrics/mapred/jobtracker/trackers_decommissioned,components/host_components/metrics/cpu/cpu_wio,components/host_components/metrics/rpc/RpcQueueTime_avg_time,components/host_components/metrics/flume/flume,components/host_components/metrics/yarn/Queue&_=1375467778021",
+ "items" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/GANGLIA",
- "ServiceInfo": {
- "cluster_name": "c1",
- "service_name": "GANGLIA"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/GANGLIA",
+ "ServiceInfo" : {
+ "cluster_name" : "vm",
+ "service_name" : "GANGLIA"
},
- "components": [
+ "components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/GANGLIA/components/GANGLIA_MONITOR",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "GANGLIA_MONITOR",
- "service_name": "GANGLIA",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/GANGLIA/components/GANGLIA_MONITOR",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "GANGLIA_MONITOR",
+ "service_name" : "GANGLIA",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/GANGLIA_MONITOR",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "GANGLIA_MONITOR",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "GANGLIA",
- "stack_id": "HDP-2.0.3",
- "state": "STARTED",
- "actual_configs": {
- "capacity-scheduler": {
- "tag": "version1"
- },
- "core-site": {
- "tag": "version1"
- },
- "global": {
- "tag": "version1"
- },
- "hbase-site": {
- "tag": "version1"
- },
- "hdfs-site": {
- "tag": "version1"
- },
- "hive-site": {
- "tag": "version1"
- },
- "mapred-queue-acls": {
- "tag": "version1"
- },
- "mapred-site": {
- "tag": "version1"
- },
- "oozie-site": {
- "tag": "version1"
- },
- "webhcat-site": {
- "tag": "version1"
- },
- "yarn-site": {
- "tag": "version1"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/GANGLIA_MONITOR",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "GANGLIA_MONITOR",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "GANGLIA",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "STARTED",
+ "actual_configs" : {
+ "capacity-scheduler" : {
+ "tag" : "version1"
+ },
+ "core-site" : {
+ "tag" : "version1"
+ },
+ "global" : {
+ "tag" : "version1"
+ },
+ "hbase-site" : {
+ "tag" : "version1"
+ },
+ "hdfs-site" : {
+ "tag" : "version1"
+ },
+ "hive-site" : {
+ "tag" : "version1"
+ },
+ "mapred-queue-acls" : {
+ "tag" : "version1"
+ },
+ "mapred-site" : {
+ "tag" : "version1"
+ },
+ "oozie-site" : {
+ "tag" : "version1"
+ },
+ "webhcat-site" : {
+ "tag" : "version1"
+ },
+ "yarn-site" : {
+ "tag" : "version1"
}
},
- "configs": { },
- "desired_configs": { }
+ "configs" : { },
+ "desired_configs" : { }
}
}
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/GANGLIA/components/GANGLIA_SERVER",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "GANGLIA_SERVER",
- "service_name": "GANGLIA",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/GANGLIA/components/GANGLIA_SERVER",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "GANGLIA_SERVER",
+ "service_name" : "GANGLIA",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/GANGLIA_SERVER",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "GANGLIA_SERVER",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "GANGLIA",
- "stack_id": "HDP-2.0.3",
- "state": "STARTED",
- "actual_configs": {
- "capacity-scheduler": {
- "tag": "version1"
- },
- "core-site": {
- "tag": "version1"
- },
- "global": {
- "tag": "version1"
- },
- "hbase-site": {
- "tag": "version1"
- },
- "hdfs-site": {
- "tag": "version1"
- },
- "hive-site": {
- "tag": "version1"
- },
- "mapred-queue-acls": {
- "tag": "version1"
- },
- "mapred-site": {
- "tag": "version1"
- },
- "oozie-site": {
- "tag": "version1"
- },
- "webhcat-site": {
- "tag": "version1"
- },
- "yarn-site": {
- "tag": "version1"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/GANGLIA_SERVER",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "GANGLIA_SERVER",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "GANGLIA",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "STARTED",
+ "actual_configs" : {
+ "capacity-scheduler" : {
+ "tag" : "version1"
+ },
+ "core-site" : {
+ "tag" : "version1"
+ },
+ "global" : {
+ "tag" : "version1"
+ },
+ "hbase-site" : {
+ "tag" : "version1"
+ },
+ "hdfs-site" : {
+ "tag" : "version1"
+ },
+ "hive-site" : {
+ "tag" : "version1"
+ },
+ "mapred-queue-acls" : {
+ "tag" : "version1"
+ },
+ "mapred-site" : {
+ "tag" : "version1"
+ },
+ "oozie-site" : {
+ "tag" : "version1"
+ },
+ "webhcat-site" : {
+ "tag" : "version1"
+ },
+ "yarn-site" : {
+ "tag" : "version1"
}
},
- "configs": { },
- "desired_configs": { }
+ "configs" : { },
+ "desired_configs" : { }
}
}
]
@@ -137,173 +137,186 @@
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HBASE",
- "ServiceInfo": {
- "cluster_name": "c1",
- "service_name": "HBASE"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HBASE",
+ "ServiceInfo" : {
+ "cluster_name" : "vm",
+ "service_name" : "HBASE"
},
- "components": [
+ "components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HBASE/components/HBASE_CLIENT",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "HBASE_CLIENT",
- "service_name": "HBASE",
- "state": "INSTALLED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HBASE/components/HBASE_CLIENT",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "HBASE_CLIENT",
+ "service_name" : "HBASE",
+ "state" : "INSTALLED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/HBASE_CLIENT",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "HBASE_CLIENT",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "INSTALLED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HBASE",
- "stack_id": "HDP-2.0.3",
- "state": "INSTALLED",
- "actual_configs": { },
- "configs": { },
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/HBASE_CLIENT",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "HBASE_CLIENT",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "INSTALLED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HBASE",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "INSTALLED",
+ "actual_configs" : { },
+ "configs" : { },
+ "desired_configs" : { }
+ },
+ "metrics" : {
+ "cpu" : {
+ "cpu_wio" : 0.1
+ },
+ "jvm" : {
+ "memHeapCommittedM" : 28.5041666667,
+ "memHeapUsedM" : 11.9096411333
+ }
}
}
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HBASE/components/HBASE_MASTER",
- "ServiceComponentInfo": {
- "AverageLoad": 2.0,
- "HeapMemoryMax": 1071579136,
- "HeapMemoryUsed": 12600208,
- "MasterActiveTime": 1375290042954,
- "MasterStartTime": 1375290042930,
- "NonHeapMemoryMax": 136314880,
- "NonHeapMemoryUsed": 38262016,
- "RegionsInTransition": [ ],
- "Revision": "1a62b76bde7776a433ee069ab47ee6270f8992d4",
- "Version": "0.94.6.2.0.3.0-116",
- "cluster_name": "c1",
- "component_name": "HBASE_MASTER",
- "service_name": "HBASE",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HBASE/components/HBASE_MASTER",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "HBASE_MASTER",
+ "service_name" : "HBASE",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/HBASE_MASTER",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "HBASE_MASTER",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "active",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HBASE",
- "stack_id": "HDP-2.0.3",
- "state": "STARTED",
- "actual_configs": {
- "capacity-scheduler": {
- "tag": "version1"
- },
- "core-site": {
- "tag": "version1"
- },
- "global": {
- "tag": "version1"
- },
- "hbase-site": {
- "tag": "version1"
- },
- "hdfs-site": {
- "tag": "version1"
- },
- "hive-site": {
- "tag": "version1"
- },
- "mapred-queue-acls": {
- "tag": "version1"
- },
- "mapred-site": {
- "tag": "version1"
- },
- "oozie-site": {
- "tag": "version1"
- },
- "webhcat-site": {
- "tag": "version1"
- },
- "yarn-site": {
- "tag": "version1"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/HBASE_MASTER",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "HBASE_MASTER",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HBASE",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "INSTALLED",
+ "actual_configs" : {
+ "capacity-scheduler" : {
+ "tag" : "version1"
+ },
+ "core-site" : {
+ "tag" : "version1"
+ },
+ "global" : {
+ "tag" : "version1"
+ },
+ "hbase-site" : {
+ "tag" : "version1"
+ },
+ "hdfs-site" : {
+ "tag" : "version1"
+ },
+ "hive-site" : {
+ "tag" : "version1"
+ },
+ "mapred-queue-acls" : {
+ "tag" : "version1"
+ },
+ "mapred-site" : {
+ "tag" : "version1"
+ },
+ "oozie-site" : {
+ "tag" : "version1"
+ },
+ "webhcat-site" : {
+ "tag" : "version1"
+ },
+ "yarn-site" : {
+ "tag" : "version1"
}
},
- "configs": { },
- "desired_configs": { }
+ "configs" : { },
+ "desired_configs" : { }
+ },
+ "metrics" : {
+ "cpu" : {
+ "cpu_wio" : 0.1
+ }
}
}
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HBASE/components/HBASE_REGIONSERVER",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "HBASE_REGIONSERVER",
- "service_name": "HBASE",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HBASE/components/HBASE_REGIONSERVER",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "HBASE_REGIONSERVER",
+ "service_name" : "HBASE",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/HBASE_REGIONSERVER",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "HBASE_REGIONSERVER",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HBASE",
- "stack_id": "HDP-2.0.3",
- "state": "STARTED",
- "actual_configs": {
- "capacity-scheduler": {
- "tag": "version1"
- },
- "core-site": {
- "tag": "version1"
- },
- "global": {
- "tag": "version1"
- },
- "hbase-site": {
- "tag": "version1"
- },
- "hdfs-site": {
- "tag": "version1"
- },
- "hive-site": {
- "tag": "version1"
- },
- "mapred-queue-acls": {
- "tag": "version1"
- },
- "mapred-site": {
- "tag": "version1"
- },
- "oozie-site": {
- "tag": "version1"
- },
- "webhcat-site": {
- "tag": "version1"
- },
- "yarn-site": {
- "tag": "version1"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/HBASE_REGIONSERVER",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "HBASE_REGIONSERVER",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HBASE",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "INSTALLED",
+ "actual_configs" : {
+ "capacity-scheduler" : {
+ "tag" : "version1"
+ },
+ "core-site" : {
+ "tag" : "version1"
+ },
+ "global" : {
+ "tag" : "version1"
+ },
+ "hbase-site" : {
+ "tag" : "version1"
+ },
+ "hdfs-site" : {
+ "tag" : "version1"
+ },
+ "hive-site" : {
+ "tag" : "version1"
+ },
+ "mapred-queue-acls" : {
+ "tag" : "version1"
+ },
+ "mapred-site" : {
+ "tag" : "version1"
+ },
+ "oozie-site" : {
+ "tag" : "version1"
+ },
+ "webhcat-site" : {
+ "tag" : "version1"
+ },
+ "yarn-site" : {
+ "tag" : "version1"
}
},
- "configs": { },
- "desired_configs": { }
+ "configs" : { },
+ "desired_configs" : { }
+ },
+ "metrics" : {
+ "cpu" : {
+ "cpu_wio" : 0.1
+ },
+ "jvm" : {
+ "memHeapCommittedM" : 28.5041666667,
+ "memHeapUsedM" : 11.9096411333
+ }
}
}
]
@@ -311,37 +324,37 @@
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HCATALOG",
- "ServiceInfo": {
- "cluster_name": "c1",
- "service_name": "HCATALOG"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HCATALOG",
+ "ServiceInfo" : {
+ "cluster_name" : "vm",
+ "service_name" : "HCATALOG"
},
- "components": [
+ "components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HCATALOG/components/HCAT",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "HCAT",
- "service_name": "HCATALOG",
- "state": "INSTALLED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HCATALOG/components/HCAT",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "HCAT",
+ "service_name" : "HCATALOG",
+ "state" : "INSTALLED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/HCAT",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "HCAT",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "INSTALLED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HCATALOG",
- "stack_id": "HDP-2.0.3",
- "state": "INSTALLED",
- "actual_configs": { },
- "configs": { },
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/HCAT",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "HCAT",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "INSTALLED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HCATALOG",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "INSTALLED",
+ "actual_configs" : { },
+ "configs" : { },
+ "desired_configs" : { }
}
}
]
@@ -349,248 +362,266 @@
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HDFS",
- "ServiceInfo": {
- "cluster_name": "c1",
- "service_name": "HDFS"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HDFS",
+ "ServiceInfo" : {
+ "cluster_name" : "vm",
+ "service_name" : "HDFS"
},
- "components": [
+ "components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HDFS/components/DATANODE",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "DATANODE",
- "service_name": "HDFS",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HDFS/components/DATANODE",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "DATANODE",
+ "service_name" : "HDFS",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/DATANODE",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "DATANODE",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HDFS",
- "stack_id": "HDP-2.0.3",
- "state": "STARTED",
- "actual_configs": {
- "capacity-scheduler": {
- "tag": "version1"
- },
- "core-site": {
- "tag": "version1"
- },
- "global": {
- "tag": "version1"
- },
- "hbase-site": {
- "tag": "version1"
- },
- "hdfs-site": {
- "tag": "version1"
- },
- "hive-site": {
- "tag": "version1"
- },
- "mapred-queue-acls": {
- "tag": "version1"
- },
- "mapred-site": {
- "tag": "version1"
- },
- "oozie-site": {
- "tag": "version1"
- },
- "webhcat-site": {
- "tag": "version1"
- },
- "yarn-site": {
- "tag": "version1"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/DATANODE",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "DATANODE",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HDFS",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "STARTED",
+ "actual_configs" : {
+ "capacity-scheduler" : {
+ "tag" : "version1"
+ },
+ "core-site" : {
+ "tag" : "version1"
+ },
+ "global" : {
+ "tag" : "version1"
+ },
+ "hbase-site" : {
+ "tag" : "version1"
+ },
+ "hdfs-site" : {
+ "tag" : "version1"
+ },
+ "hive-site" : {
+ "tag" : "version1"
+ },
+ "mapred-queue-acls" : {
+ "tag" : "version1"
+ },
+ "mapred-site" : {
+ "tag" : "version1"
+ },
+ "oozie-site" : {
+ "tag" : "version1"
+ },
+ "webhcat-site" : {
+ "tag" : "version1"
+ },
+ "yarn-site" : {
+ "tag" : "version1"
}
},
- "configs": { },
- "desired_configs": { }
+ "configs" : { },
+ "desired_configs" : { }
+ },
+ "metrics" : {
+ "cpu" : {
+ "cpu_wio" : 0.1
+ },
+ "jvm" : {
+ "memHeapCommittedM" : 28.4375,
+ "memHeapUsedM" : 13.903183
+ }
}
}
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HDFS/components/HDFS_CLIENT",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "HDFS_CLIENT",
- "service_name": "HDFS",
- "state": "INSTALLED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HDFS/components/HDFS_CLIENT",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "HDFS_CLIENT",
+ "service_name" : "HDFS",
+ "state" : "INSTALLED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/HDFS_CLIENT",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "HDFS_CLIENT",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "INSTALLED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HDFS",
- "stack_id": "HDP-2.0.3",
- "state": "INSTALLED",
- "actual_configs": { },
- "configs": { },
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/HDFS_CLIENT",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "HDFS_CLIENT",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "INSTALLED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HDFS",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "INSTALLED",
+ "actual_configs" : { },
+ "configs" : { },
+ "desired_configs" : { }
}
}
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HDFS/components/NAMENODE",
- "ServiceComponentInfo": {
- "BlocksTotal": 379,
- "CapacityRemaining": 45343223808,
- "CapacityTotal": 52844687359,
- "CapacityUsed": 182407168,
- "CorruptBlocks": 0,
- "DeadNodes": "{}",
- "DecomNodes": "{}",
- "HeapMemoryMax": 1006632960,
- "HeapMemoryUsed": 495427800,
- "LiveNodes": "{\"dev01.hortonworks.com\":{\"numBlocks\":379,\"usedSpace\":182407168,\"lastContact\":1,\"capacity\":52844687359,\"nonDfsUsedSpace\":7319056383,\"adminState\":\"In Service\"}}",
- "MissingBlocks": 0,
- "NonDfsUsedSpace": 7319056383,
- "NonHeapMemoryMax": 136314880,
- "NonHeapMemoryUsed": 42028744,
- "PercentRemaining": 85.8047,
- "PercentUsed": 0.34517598,
- "Safemode": "",
- "StartTime": 1375289702242,
- "TotalFiles": 617,
- "UnderReplicatedBlocks": 379,
- "UpgradeFinalized": true,
- "Version": "2.1.0.2.0.3.0-116, r707031d22de185c6af3023b0689578b9ec743113",
- "cluster_name": "c1",
- "component_name": "NAMENODE",
- "service_name": "HDFS",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HDFS/components/NAMENODE",
+ "ServiceComponentInfo" : {
+ "BlocksTotal" : 379,
+ "CapacityRemaining" : 490802069504,
+ "CapacityTotal" : 525282689023,
+ "CapacityUsed" : 182407168,
+ "CorruptBlocks" : 0,
+ "DeadNodes" : "{}",
+ "DecomNodes" : "{}",
+ "HeapMemoryMax" : 1006632960,
+ "HeapMemoryUsed" : 194751064,
+ "LiveNodes" : "{\"dev01.ambari.apache.org\":{\"numBlocks\":379,\"usedSpace\":182407168,\"lastContact\":1,\"capacity\":525282689023,\"nonDfsUsedSpace\":34298212351,\"adminState\":\"In Service\"}}",
+ "MissingBlocks" : 0,
+ "NonDfsUsedSpace" : 34298212351,
+ "NonHeapMemoryMax" : 136314880,
+ "NonHeapMemoryUsed" : 42712328,
+ "PercentRemaining" : 93.4358,
+ "PercentUsed" : 0.034725524,
+ "Safemode" : "",
+ "StartTime" : 1375383936364,
+ "TotalFiles" : 617,
+ "UnderReplicatedBlocks" : 379,
+ "UpgradeFinalized" : true,
+ "Version" : "2.1.0.2.0.3.0-116, r707031d22de185c6af3023b0689578b9ec743113",
+ "cluster_name" : "vm",
+ "component_name" : "NAMENODE",
+ "service_name" : "HDFS",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/NAMENODE",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "NAMENODE",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HDFS",
- "stack_id": "HDP-2.0.3",
- "state": "STARTED",
- "actual_configs": {
- "capacity-scheduler": {
- "tag": "version1"
- },
- "core-site": {
- "tag": "version1"
- },
- "global": {
- "tag": "version1"
- },
- "hbase-site": {
- "tag": "version1"
- },
- "hdfs-site": {
- "tag": "version1"
- },
- "hive-site": {
- "tag": "version1"
- },
- "mapred-queue-acls": {
- "tag": "version1"
- },
- "mapred-site": {
- "tag": "version1"
- },
- "oozie-site": {
- "tag": "version1"
- },
- "webhcat-site": {
- "tag": "version1"
- },
- "yarn-site": {
- "tag": "version1"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/NAMENODE",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "NAMENODE",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HDFS",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "STARTED",
+ "actual_configs" : {
+ "capacity-scheduler" : {
+ "tag" : "version1"
+ },
+ "core-site" : {
+ "tag" : "version1"
+ },
+ "global" : {
+ "tag" : "version1"
+ },
+ "hbase-site" : {
+ "tag" : "version1"
+ },
+ "hdfs-site" : {
+ "tag" : "version1"
+ },
+ "hive-site" : {
+ "tag" : "version1"
+ },
+ "mapred-queue-acls" : {
+ "tag" : "version1"
+ },
+ "mapred-site" : {
+ "tag" : "version1"
+ },
+ "oozie-site" : {
+ "tag" : "version1"
+ },
+ "webhcat-site" : {
+ "tag" : "version1"
+ },
+ "yarn-site" : {
+ "tag" : "version1"
}
},
- "configs": { },
- "desired_configs": { }
+ "configs" : { },
+ "desired_configs" : { }
+ },
+ "metrics" : {
+ "cpu" : {
+ "cpu_wio" : 0.3
+ },
+ "jvm" : {
+ "memHeapCommittedM" : 960.0,
+ "memHeapUsedM" : 186.13074
+ }
}
}
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HDFS/components/SECONDARY_NAMENODE",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "SECONDARY_NAMENODE",
- "service_name": "HDFS",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HDFS/components/SECONDARY_NAMENODE",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "SECONDARY_NAMENODE",
+ "service_name" : "HDFS",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/SECONDARY_NAMENODE",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "SECONDARY_NAMENODE",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HDFS",
- "stack_id": "HDP-2.0.3",
- "state": "STARTED",
- "actual_configs": {
- "capacity-scheduler": {
- "tag": "version1"
- },
- "core-site": {
- "tag": "version1"
- },
- "global": {
- "tag": "version1"
- },
- "hbase-site": {
- "tag": "version1"
- },
- "hdfs-site": {
- "tag": "version1"
- },
- "hive-site": {
- "tag": "version1"
- },
- "mapred-queue-acls": {
- "tag": "version1"
- },
- "mapred-site": {
- "tag": "version1"
- },
- "oozie-site": {
- "tag": "version1"
- },
- "webhcat-site": {
- "tag": "version1"
- },
- "yarn-site": {
- "tag": "version1"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/SECONDARY_NAMENODE",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "SECONDARY_NAMENODE",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HDFS",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "STARTED",
+ "actual_configs" : {
+ "capacity-scheduler" : {
+ "tag" : "version1"
+ },
+ "core-site" : {
+ "tag" : "version1"
+ },
+ "global" : {
+ "tag" : "version1"
+ },
+ "hbase-site" : {
+ "tag" : "version1"
+ },
+ "hdfs-site" : {
+ "tag" : "version1"
+ },
+ "hive-site" : {
+ "tag" : "version1"
+ },
+ "mapred-queue-acls" : {
+ "tag" : "version1"
+ },
+ "mapred-site" : {
+ "tag" : "version1"
+ },
+ "oozie-site" : {
+ "tag" : "version1"
+ },
+ "webhcat-site" : {
+ "tag" : "version1"
+ },
+ "yarn-site" : {
+ "tag" : "version1"
}
},
- "configs": { },
- "desired_configs": { }
+ "configs" : { },
+ "desired_configs" : { }
}
}
]
@@ -598,226 +629,226 @@
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HIVE",
- "ServiceInfo": {
- "cluster_name": "c1",
- "service_name": "HIVE"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HIVE",
+ "ServiceInfo" : {
+ "cluster_name" : "vm",
+ "service_name" : "HIVE"
},
- "components": [
+ "components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HIVE/components/HIVE_CLIENT",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "HIVE_CLIENT",
- "service_name": "HIVE",
- "state": "INSTALLED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HIVE/components/HIVE_CLIENT",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "HIVE_CLIENT",
+ "service_name" : "HIVE",
+ "state" : "INSTALLED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/HIVE_CLIENT",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "HIVE_CLIENT",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "INSTALLED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HIVE",
- "stack_id": "HDP-2.0.3",
- "state": "INSTALLED",
- "actual_configs": { },
- "configs": { },
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/HIVE_CLIENT",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "HIVE_CLIENT",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "INSTALLED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HIVE",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "INSTALLED",
+ "actual_configs" : { },
+ "configs" : { },
+ "desired_configs" : { }
}
}
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HIVE/components/HIVE_METASTORE",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "HIVE_METASTORE",
- "service_name": "HIVE",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HIVE/components/HIVE_METASTORE",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "HIVE_METASTORE",
+ "service_name" : "HIVE",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/HIVE_METASTORE",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "HIVE_METASTORE",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HIVE",
- "stack_id": "HDP-2.0.3",
- "state": "STARTED",
- "actual_configs": {
- "capacity-scheduler": {
- "tag": "version1"
- },
- "core-site": {
- "tag": "version1"
- },
- "global": {
- "tag": "version1"
- },
- "hbase-site": {
- "tag": "version1"
- },
- "hdfs-site": {
- "tag": "version1"
- },
- "hive-site": {
- "tag": "version1"
- },
- "mapred-queue-acls": {
- "tag": "version1"
- },
- "mapred-site": {
- "tag": "version1"
- },
- "oozie-site": {
- "tag": "version1"
- },
- "webhcat-site": {
- "tag": "version1"
- },
- "yarn-site": {
- "tag": "version1"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/HIVE_METASTORE",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "HIVE_METASTORE",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HIVE",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "STARTED",
+ "actual_configs" : {
+ "capacity-scheduler" : {
+ "tag" : "version1"
+ },
+ "core-site" : {
+ "tag" : "version1"
+ },
+ "global" : {
+ "tag" : "version1"
+ },
+ "hbase-site" : {
+ "tag" : "version1"
+ },
+ "hdfs-site" : {
+ "tag" : "version1"
+ },
+ "hive-site" : {
+ "tag" : "version1"
+ },
+ "mapred-queue-acls" : {
+ "tag" : "version1"
+ },
+ "mapred-site" : {
+ "tag" : "version1"
+ },
+ "oozie-site" : {
+ "tag" : "version1"
+ },
+ "webhcat-site" : {
+ "tag" : "version1"
+ },
+ "yarn-site" : {
+ "tag" : "version1"
}
},
- "configs": { },
- "desired_configs": { }
+ "configs" : { },
+ "desired_configs" : { }
}
}
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HIVE/components/HIVE_SERVER",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "HIVE_SERVER",
- "service_name": "HIVE",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HIVE/components/HIVE_SERVER",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "HIVE_SERVER",
+ "service_name" : "HIVE",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/HIVE_SERVER",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "HIVE_SERVER",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HIVE",
- "stack_id": "HDP-2.0.3",
- "state": "STARTED",
- "actual_configs": {
- "capacity-scheduler": {
- "tag": "version1"
- },
- "core-site": {
- "tag": "version1"
- },
- "global": {
- "tag": "version1"
- },
- "hbase-site": {
- "tag": "version1"
- },
- "hdfs-site": {
- "tag": "version1"
- },
- "hive-site": {
- "tag": "version1"
- },
- "mapred-queue-acls": {
- "tag": "version1"
- },
- "mapred-site": {
- "tag": "version1"
- },
- "oozie-site": {
- "tag": "version1"
- },
- "webhcat-site": {
- "tag": "version1"
- },
- "yarn-site": {
- "tag": "version1"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/HIVE_SERVER",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "HIVE_SERVER",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HIVE",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "STARTED",
+ "actual_configs" : {
+ "capacity-scheduler" : {
+ "tag" : "version1"
+ },
+ "core-site" : {
+ "tag" : "version1"
+ },
+ "global" : {
+ "tag" : "version1"
+ },
+ "hbase-site" : {
+ "tag" : "version1"
+ },
+ "hdfs-site" : {
+ "tag" : "version1"
+ },
+ "hive-site" : {
+ "tag" : "version1"
+ },
+ "mapred-queue-acls" : {
+ "tag" : "version1"
+ },
+ "mapred-site" : {
+ "tag" : "version1"
+ },
+ "oozie-site" : {
+ "tag" : "version1"
+ },
+ "webhcat-site" : {
+ "tag" : "version1"
+ },
+ "yarn-site" : {
+ "tag" : "version1"
}
},
- "configs": { },
- "desired_configs": { }
+ "configs" : { },
+ "desired_configs" : { }
}
}
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/HIVE/components/MYSQL_SERVER",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "MYSQL_SERVER",
- "service_name": "HIVE",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/HIVE/components/MYSQL_SERVER",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "MYSQL_SERVER",
+ "service_name" : "HIVE",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/MYSQL_SERVER",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "MYSQL_SERVER",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "HIVE",
- "stack_id": "HDP-2.0.3",
- "state": "STARTED",
- "actual_configs": {
- "capacity-scheduler": {
- "tag": "version1"
- },
- "core-site": {
- "tag": "version1"
- },
- "global": {
- "tag": "version1"
- },
- "hbase-site": {
- "tag": "version1"
- },
- "hdfs-site": {
- "tag": "version1"
- },
- "hive-site": {
- "tag": "version1"
- },
- "mapred-queue-acls": {
- "tag": "version1"
- },
- "mapred-site": {
- "tag": "version1"
- },
- "oozie-site": {
- "tag": "version1"
- },
- "webhcat-site": {
- "tag": "version1"
- },
- "yarn-site": {
- "tag": "version1"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/MYSQL_SERVER",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "MYSQL_SERVER",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "HIVE",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "STARTED",
+ "actual_configs" : {
+ "capacity-scheduler" : {
+ "tag" : "version1"
+ },
+ "core-site" : {
+ "tag" : "version1"
+ },
+ "global" : {
+ "tag" : "version1"
+ },
+ "hbase-site" : {
+ "tag" : "version1"
+ },
+ "hdfs-site" : {
+ "tag" : "version1"
+ },
+ "hive-site" : {
+ "tag" : "version1"
+ },
+ "mapred-queue-acls" : {
+ "tag" : "version1"
+ },
+ "mapred-site" : {
+ "tag" : "version1"
+ },
+ "oozie-site" : {
+ "tag" : "version1"
+ },
+ "webhcat-site" : {
+ "tag" : "version1"
+ },
+ "yarn-site" : {
+ "tag" : "version1"
}
},
- "configs": { },
- "desired_configs": { }
+ "configs" : { },
+ "desired_configs" : { }
}
}
]
@@ -825,100 +856,106 @@
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/MAPREDUCE2",
- "ServiceInfo": {
- "cluster_name": "c1",
- "service_name": "MAPREDUCE2"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/MAPREDUCE2",
+ "ServiceInfo" : {
+ "cluster_name" : "vm",
+ "service_name" : "MAPREDUCE2"
},
- "components": [
+ "components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/MAPREDUCE2/components/HISTORYSERVER",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "HISTORYSERVER",
- "service_name": "MAPREDUCE2",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/MAPREDUCE2/components/HISTORYSERVER",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "HISTORYSERVER",
+ "service_name" : "MAPREDUCE2",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/HISTORYSERVER",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "HISTORYSERVER",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "MAPREDUCE2",
- "stack_id": "HDP-2.0.3",
- "state": "STARTED",
- "actual_configs": {
- "capacity-scheduler": {
- "tag": "version1"
- },
- "core-site": {
- "tag": "version1"
- },
- "global": {
- "tag": "version1"
- },
- "hbase-site": {
- "tag": "version1"
- },
- "hdfs-site": {
- "tag": "version1"
- },
- "hive-site": {
- "tag": "version1"
- },
- "mapred-queue-acls": {
- "tag": "version1"
- },
- "mapred-site": {
- "tag": "version1"
- },
- "oozie-site": {
- "tag": "version1"
- },
- "webhcat-site": {
- "tag": "version1"
- },
- "yarn-site": {
- "tag": "version1"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/HISTORYSERVER",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "HISTORYSERVER",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "MAPREDUCE2",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "STARTED",
+ "actual_configs" : {
+ "capacity-scheduler" : {
+ "tag" : "version1"
+ },
+ "core-site" : {
+ "tag" : "version1"
+ },
+ "global" : {
+ "tag" : "version1"
+ },
+ "hbase-site" : {
+ "tag" : "version1"
+ },
+ "hdfs-site" : {
+ "tag" : "version1"
+ },
+ "hive-site" : {
+ "tag" : "version1"
+ },
+ "mapred-queue-acls" : {
+ "tag" : "version1"
+ },
+ "mapred-site" : {
+ "tag" : "version1"
+ },
+ "oozie-site" : {
+ "tag" : "version1"
+ },
+ "webhcat-site" : {
+ "tag" : "version1"
+ },
+ "yarn-site" : {
+ "tag" : "version1"
}
},
- "configs": { },
- "desired_configs": { }
+ "configs" : { },
+ "desired_configs" : { }
+ },
+ "metrics" : {
+ "jvm" : {
+ "memHeapCommittedM" : 28.5625,
+ "memHeapUsedM" : 10.363014
+ }
}
}
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/MAPREDUCE2/components/MAPREDUCE2_CLIENT",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "MAPREDUCE2_CLIENT",
- "service_name": "MAPREDUCE2",
- "state": "INSTALLED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/MAPREDUCE2/components/MAPREDUCE2_CLIENT",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "MAPREDUCE2_CLIENT",
+ "service_name" : "MAPREDUCE2",
+ "state" : "INSTALLED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/MAPREDUCE2_CLIENT",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "MAPREDUCE2_CLIENT",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "INSTALLED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "service_name": "MAPREDUCE2",
- "stack_id": "HDP-2.0.3",
- "state": "INSTALLED",
- "actual_configs": { },
- "configs": { },
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/MAPREDUCE2_CLIENT",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "MAPREDUCE2_CLIENT",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "INSTALLED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "service_name" : "MAPREDUCE2",
+ "stack_id" : "HDP-2.0.3",
+ "state" : "INSTALLED",
+ "actual_configs" : { },
+ "configs" : { },
+ "desired_configs" : { }
}
}
]
@@ -926,711 +963,695 @@
]
},
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/NAGIOS",
- "ServiceInfo": {
- "cluster_name": "c1",
- "service_name": "NAGIOS"
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/NAGIOS",
+ "ServiceInfo" : {
+ "cluster_name" : "vm",
+ "service_name" : "NAGIOS"
},
- "components": [
+ "components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/services/NAGIOS/components/NAGIOS_SERVER",
- "ServiceComponentInfo": {
- "cluster_name": "c1",
- "component_name": "NAGIOS_SERVER",
- "service_name": "NAGIOS",
- "state": "STARTED",
- "desired_configs": { }
+ "href" : "http://dev01:8080/api/v1/clusters/vm/services/NAGIOS/components/NAGIOS_SERVER",
+ "ServiceComponentInfo" : {
+ "cluster_name" : "vm",
+ "component_name" : "NAGIOS_SERVER",
+ "service_name" : "NAGIOS",
+ "state" : "STARTED",
+ "desired_configs" : { }
},
- "host_components": [
+ "host_components" : [
{
- "href": "http://dev01.hortonworks.com:8080/api/v1/clusters/c1/hosts/dev01.hortonworks.com/host_components/NAGIOS_SERVER",
- "HostRoles": {
- "cluster_name": "c1",
- "component_name": "NAGIOS_SERVER",
- "desired_stack_id": "HDP-2.0.3",
- "desired_state": "STARTED",
- "ha_status": "passive",
- "host_name": "dev01.hortonworks.com",
- "nagios_alerts": {
- "alerts": [
- {
- "service_description": "Check ambari-agent process",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "OK: Ambari agent is running [PID:15240]",
- "last_hard_state_change": "1375289689",
- "last_hard_state": "0",
- "last_time_ok": "1375291189",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "0",
- "is_flapping": "0",
- "last_check": "1375291189",
- "service_type": "AMBARI"
- },
+ "href" : "http://dev01:8080/api/v1/clusters/vm/hosts/dev01.ambari.apache.org/host_components/NAGIOS_SERVER",
+ "HostRoles" : {
+ "cluster_name" : "vm",
+ "component_name" : "NAGIOS_SERVER",
+ "desired_stack_id" : "HDP-2.0.3",
+ "desired_state" : "STARTED",
+ "ha_status" : "passive",
+ "host_name" : "dev01.ambari.apache.org",
+ "nagios_alerts" : {
+ "alerts" : [
{
- "service_description": "DataNode process down",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "TCP OK - 0.000 second response time on port 50075",
- "last_hard_state_change": "1375289692",
- "last_hard_state": "0",
- "last_time_ok": "1375291252",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "0",
- "is_flapping": "0",
- "last_check": "1375291252",
- "service_type": "HDFS"
+ "service_description" : "Check ambari-agent process",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "OK: Ambari agent is running [PID:8339]",
+ "last_hard_state_change" : "1375462335",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375467735",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "0",
+ "is_flapping" : "0",
+ "last_check" : "1375467735",
+ "service_type" : "AMBARI"
},
{
- "service_description": "DataNode storage full",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "OK: Capacity:[52844687359], Remaining Capacity:[45343248384], percent_full:[14.195256609314]",
- "last_hard_state_change": "1375289695",
- "last_hard_state": "0",
- "last_time_ok": "1375291195",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "0",
- "is_flapping": "0",
- "last_check": "1375291195",
- "service_type": "HDFS"
+ "service_description" : "DataNode process down",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "TCP OK - 0.001 second response time on port 50075",
+ "last_hard_state_change" : "1375462338",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375467858",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "0",
+ "is_flapping" : "0",
+ "last_check" : "1375467858",
+ "service_type" : "HDFS"
},
{
- "service_description": "Ganglia Collector [gmond] process down alert for HBase Master",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "TCP OK - 0.001 second response time on port 8663",
- "last_hard_state_change": "1375289698",
- "last_hard_state": "0",
- "last_time_ok": "1375291273",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "0",
- "is_flapping": "0",
- "last_check": "1375291273",
- "service_type": "GANGLIA"
+ "service_description" : "DataNode storage full",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "OK: Capacity:[525282689023], Remaining Capacity:[490802098176], percent_full:[6.5641970633246]",
+ "last_hard_state_change" : "1375462341",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375467741",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "0",
+ "is_flapping" : "0",
+ "last_check" : "1375467741",
+ "service_type" : "HDFS"
},
{
- "service_description": "Ganglia Collector [gmond] process down alert for History Server 2",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "TCP OK - 0.001 second response time on port 8666",
- "last_hard_state_change": "1375289701",
- "last_hard_state": "0",
- "last_time_ok": "1375291276",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "0",
- "is_flapping": "0",
- "last_check": "1375291276",
- "service_type": "GANGLIA"
+ "service_description" : "Ganglia Collector [gmond] process down alert for HBase Master",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "TCP OK - 0.001 second response time on port 8663",
+ "last_hard_state_change" : "1375462344",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375467894",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "0",
+ "is_flapping" : "0",
+ "last_check" : "1375467894",
+ "service_type" : "GANGLIA"
},
{
- "service_description": "Ganglia Collector [gmond] process down alert for JobTracker",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "4",
- "current_state": "2",
- "plugin_output": "Connection refused",
- "last_hard_state_change": "1375289749",
- "last_hard_state": "2",
- "last_time_ok": "0",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "1375291279",
- "is_flapping": "0",
- "last_check": "1375291279",
- "service_type": "GANGLIA"
+ "service_description" : "Ganglia Collector [gmond] process down alert for History Server 2",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "TCP OK - 0.003 second response time on port 8666",
+ "last_hard_state_change" : "1375462347",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375388826",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "0",
+ "is_flapping" : "0",
+ "last_check" : "1375467237",
+ "service_type" : "GANGLIA"
},
{
- "service_description": "Ganglia Collector [gmond] process down alert for NameNode",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "TCP OK - 0.001 second response time on port 8661",
- "last_hard_state_change": "1375289707",
- "last_hard_state": "0",
- "last_time_ok": "1375291282",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "0",
- "is_flapping": "0",
- "last_check": "1375291282",
- "service_type": "GANGLIA"
+ "service_description" : "Ganglia Collector [gmond] process down alert for NameNode",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "TCP OK - 0.005 second response time on port 8661",
+ "last_hard_state_change" : "1375462350",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375388829",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "0",
+ "is_flapping" : "0",
+ "last_check" : "1375467240",
+ "service_type" : "GANGLIA"
},
{
- "service_description": "Ganglia Collector [gmond] process down alert for Node Manager",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "TCP OK - 0.000 second response time on port 8660",
- "last_hard_state_change": "1375289710",
- "last_hard_state": "0",
- "last_time_ok": "1375291285",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "0",
- "is_flapping": "0",
- "last_check": "1375291285",
- "service_type": "GANGLIA"
+ "service_description" : "Ganglia Collector [gmond] process down alert for Node Manager",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "TCP OK - 0.002 second response time on port 8660",
+ "last_hard_state_change" : "1375462353",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375467889",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "0",
+ "is_flapping" : "0",
+ "last_check" : "1375467889",
+ "service_type" : "GANGLIA"
},
{
- "service_description": "Ganglia Collector [gmond] process down alert for Resource Manager",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "TCP OK - 0.001 second response time on port 8664",
- "last_hard_state_change": "1375289713",
- "last_hard_state": "0",
- "last_time_ok": "1375291273",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "0",
- "is_flapping": "0",
- "last_check": "1375291273",
- "service_type": "GANGLIA"
+ "service_description" : "Ganglia Collector [gmond] process down alert for Resource Manager",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "TCP OK - 0.001 second response time on port 8664",
+ "last_hard_state_change" : "1375462356",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375467891",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "0",
+ "is_flapping" : "0",
+ "last_check" : "1375467891",
+ "service_type" : "GANGLIA"
},
{
- "service_description": "Ganglia Collector [gmond] process down alert for slaves",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "TCP OK - 0.006 second response time on port 8660",
- "last_hard_state_change": "1375289716",
- "last_hard_state": "0",
- "last_time_ok": "1375291276",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "0",
- "is_flapping": "0",
- "last_check": "1375291276",
- "service_type": "GANGLIA"
+ "service_description" : "Ganglia Collector [gmond] process down alert for slaves",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "TCP OK - 0.003 second response time on port 8660",
+ "last_hard_state_change" : "1375462359",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375467894",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "0",
+ "is_flapping" : "0",
+ "last_check" : "1375467894",
+ "service_type" : "GANGLIA"
},
{
- "service_description": "Ganglia [gmetad] process down",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "TCP OK - 0.009 second response time on port 8651",
- "last_hard_state_change": "1375289719",
- "last_hard_state": "0",
- "last_time_ok": "1375291279",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "0",
- "is_flapping": "0",
- "last_check": "1375291279",
- "service_type": "GANGLIA"
+ "service_description" : "Ganglia [gmetad] process down",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "TCP OK - 0.001 second response time on port 8651",
+ "last_hard_state_change" : "1375462362",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375388826",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "0",
+ "is_flapping" : "0",
+ "last_check" : "1375467237",
+ "service_type" : "GANGLIA"
},
{
- "service_description": "Percent RegionServers down",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "OK: total:<1>, affected:<0>",
- "last_hard_state_change": "1375290292",
- "last_hard_state": "0",
- "last_time_ok": "1375291282",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "1375290262",
- "is_flapping": "0",
- "last_check": "1375291282",
- "service_type": "HBASE"
+ "service_description" : "Percent RegionServers down",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "OK: total:<1>, affected:<0>",
+ "last_hard_state_change" : "1375462935",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375388814",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "1375384494",
+ "is_flapping" : "0",
+ "last_check" : "1375467225",
+ "service_type" : "HBASE"
},
{
- "service_description": "HBase Master CPU utilization",
- "host_name": "dev01.hortonworks.com",
- "current_attempt": "1",
- "current_state": "0",
- "plugin_output": "1 CPU, load 30.0% < 200% : OK",
- "last_hard_state_change": "1375289724",
- "last_hard_state": "0",
- "last_time_ok": "1375291224",
- "last_time_warning": "0",
- "last_time_unknown": "0",
- "last_time_critical": "0",
- "is_flapping": "0",
- "last_check": "1375291224",
- "service_type": "HBASE"
+ "service_description" : "HBase Master CPU utilization",
+ "host_name" : "dev01.ambari.apache.org",
+ "current_attempt" : "1",
+ "current_state" : "0",
+ "plugin_output" : "1 CPU, load 13.0% < 200% : OK",
+ "last_hard_state_change" : "1375462368",
+ "last_hard_state" : "0",
+ "last_time_ok" : "1375467768",
+ "last_time_warning" : "0",
+ "last_time_unknown" : "0",
+ "last_time_critical" : "0"
<TRUNCATED>