Browse Source

AMBARI-1249. Update mock data to make App.testMode work. (yusaku)

git-svn-id: https://svn.apache.org/repos/asf/incubator/ambari/trunk@1437212 13f79535-47bb-0310-9956-ffa450edef68
Yusaku Sako 12 years ago
parent
commit
7158f13edc
3 changed files with 1430 additions and 3105 deletions
  1. 2 0
      CHANGES.txt
  2. 1326 1679
      ambari-web/app/assets/data/dashboard/services.json
  3. 102 1426
      ambari-web/app/assets/data/hosts/hosts.json

+ 2 - 0
CHANGES.txt

@@ -17,6 +17,8 @@ Trunk (unreleased changes):
 
  IMPROVEMENTS
 
+ AMBARI-1249. Update mock data to make App.testMode work. (yusaku)
+
  AMBARI-1239. Host health status should show orange when there is at least one
  slave component on the host with state!=STARTED. (yusaku)
 

+ 1326 - 1679
ambari-web/app/assets/data/dashboard/services.json

@@ -1,1876 +1,1523 @@
 {
-  "href" : "http://ambari/api/clusters/vmc/services?ServiceInfo/service_name!=MISCELLANEOUS&ServiceInfo/service_name!=DASHBOARD&fields=components/host_components/*",
+  "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services?fields=components/ServiceComponentInfo,components/host_components,components/host_components/HostRoles&_=1358264805285",
   "items" : [
     {
-      "href" : "http://ambari/api/clusters/vmc/services/NAGIOS",
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HBASE",
       "ServiceInfo" : {
-        "cluster_name" : "vmc",
-        "service_name" : "NAGIOS"
+        "cluster_name" : "cl1",
+        "service_name" : "HBASE"
       },
       "components" : [
         {
-          "href" : "http://ambari/api/clusters/vmc/services/NAGIOS/components/NAGIOS_SERVER",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HBASE/components/HBASE_REGIONSERVER",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "NAGIOS_SERVER",
-            "service_name" : "NAGIOS"
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "HBASE_REGIONSERVER",
+            "service_name" : "HBASE"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/api/clusters/vmc/hosts/hostname/host_components/NAGIOS_SERVER",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/HBASE_REGIONSERVER",
               "HostRoles" : {
-                "configs" : "{}",
-                "cluster_name" : "vmc",
-                "desired_configs" : "{}",
+                "configs" : {
+                  "hbase-site" : "version1",
+                  "global" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
                 "desired_state" : "STARTED",
                 "state" : "STARTED",
-                "component_name" : "NAGIOS_SERVER",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/api/clusters/vmc/services/NAGIOS/components/NAGIOS_SERVER",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "NAGIOS_SERVER",
-                    "service_name" : "NAGIOS"
-                  }
-                }
-              ]
+                "component_name" : "HBASE_REGIONSERVER",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/HBASE_REGIONSERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "hbase-site" : "version1",
+                  "global" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "HBASE_REGIONSERVER",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/HBASE_REGIONSERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "hbase-site" : "version1",
+                  "global" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "HBASE_REGIONSERVER",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/HBASE_REGIONSERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "hbase-site" : "version1",
+                  "global" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "HBASE_REGIONSERVER",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/HBASE_REGIONSERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "hbase-site" : "version1",
+                  "global" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "HBASE_REGIONSERVER",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HBASE/components/HBASE_MASTER",
+          "ServiceComponentInfo" : {
+            "MasterStartTime" : 1358245370553,
+            "MasterActiveTime" : 1358245370618,
+            "RegionsInTransition" : [ ],
+            "component_name" : "HBASE_MASTER",
+            "state" : "STARTED",
+            "HeapMemoryUsed" : 14455400,
+            "Revision" : "Unknown",
+            "service_name" : "HBASE",
+            "HeapMemoryMax" : 1069416448,
+            "AverageLoad" : 1.0,
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "Version" : "0.94.2.21"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/HBASE_MASTER",
+              "HostRoles" : {
+                "configs" : {
+                  "hbase-site" : "version1",
+                  "global" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "HBASE_MASTER",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HBASE/components/HBASE_CLIENT",
+          "ServiceComponentInfo" : {
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "INSTALLED",
+            "component_name" : "HBASE_CLIENT",
+            "service_name" : "HBASE"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/HBASE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HBASE_CLIENT",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/HBASE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HBASE_CLIENT",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/HBASE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HBASE_CLIENT",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/HBASE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HBASE_CLIENT",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/HBASE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HBASE_CLIENT",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
             }
           ]
         }
       ]
     },
     {
-      "href" : "http://ambari/api/clusters/vmc/services/GANGLIA",
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/NAGIOS",
       "ServiceInfo" : {
-        "cluster_name" : "vmc",
-        "service_name" : "GANGLIA"
+        "cluster_name" : "cl1",
+        "service_name" : "NAGIOS"
       },
       "components" : [
         {
-          "href" : "http://ambari/api/clusters/vmc/services/GANGLIA/components/GANGLIA_MONITOR",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/NAGIOS/components/NAGIOS_SERVER",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "GANGLIA_MONITOR",
-            "service_name" : "GANGLIA"
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "NAGIOS_SERVER",
+            "service_name" : "NAGIOS"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/api/clusters/vmc/hosts/hostname/host_components/GANGLIA_MONITOR",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/NAGIOS_SERVER",
               "HostRoles" : {
-                "configs" : "{}",
-                "cluster_name" : "vmc",
-                "desired_configs" : "{}",
+                "configs" : {
+                  "global" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
                 "desired_state" : "STARTED",
                 "state" : "STARTED",
-                "component_name" : "GANGLIA_MONITOR",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/api/clusters/vmc/services/GANGLIA/components/GANGLIA_MONITOR",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "GANGLIA_MONITOR",
-                    "service_name" : "GANGLIA"
-                  }
-                }
-              ]
+                "component_name" : "NAGIOS_SERVER",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
             }
           ]
-        },
+        }
+      ]
+    },
+    {
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/SQOOP",
+      "ServiceInfo" : {
+        "cluster_name" : "cl1",
+        "service_name" : "SQOOP"
+      },
+      "components" : [
         {
-          "href" : "http://ambari/api/clusters/vmc/services/GANGLIA/components/GANGLIA_SERVER",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/SQOOP/components/SQOOP",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "GANGLIA_SERVER",
-            "service_name" : "GANGLIA"
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "INSTALLED",
+            "component_name" : "SQOOP",
+            "service_name" : "SQOOP"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/api/clusters/vmc/hosts/hostname/host_components/GANGLIA_SERVER",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/SQOOP",
               "HostRoles" : {
-                "configs" : "{}",
-                "cluster_name" : "vmc",
-                "desired_configs" : "{}",
-                "desired_state" : "STARTED",
-                "state" : "STARTED",
-                "component_name" : "GANGLIA_SERVER",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/api/clusters/vmc/services/GANGLIA/components/GANGLIA_SERVER",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "GANGLIA_SERVER",
-                    "service_name" : "GANGLIA"
-                  }
-                }
-              ]
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "SQOOP",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/SQOOP",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "SQOOP",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/SQOOP",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "SQOOP",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/SQOOP",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "SQOOP",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/SQOOP",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "SQOOP",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
             }
           ]
         }
       ]
     },
     {
-      "href" : "http://ambari/api/clusters/vmc/services/HDFS",
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HDFS",
       "ServiceInfo" : {
-        "cluster_name" : "vmc",
+        "cluster_name" : "cl1",
         "service_name" : "HDFS"
       },
       "components" : [
         {
-          "href" : "http://ambari/api/clusters/vmc/services/HDFS/components/NAMENODE",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HDFS/components/HDFS_CLIENT",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "NAMENODE",
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "INSTALLED",
+            "component_name" : "HDFS_CLIENT",
             "service_name" : "HDFS"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/api/clusters/vmc/hosts/hostname/host_components/NAMENODE",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/HDFS_CLIENT",
               "HostRoles" : {
-                "configs" : "{\"global\":\"version1\",\"hdfs-site\":\"version1\",\"core-site\":\"version1\"}",
-                "cluster_name" : "vmc",
-                "desired_configs" : "{}",
-                "desired_state" : "STARTED",
-                "state" : "STARTED",
-                "component_name" : "NAMENODE",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "metrics" : {
-                "boottime" : 1.352763164E9,
-                "process" : {
-                  "proc_total" : 564.191666667,
-                  "proc_run" : 0.377777777778
-                },
-                "rpc" : {
-                  "rpcAuthorizationSuccesses" : 0.00277777777778,
-                  "SentBytes" : 48.8071428571,
-                  "rpcAuthorizationFailures" : 0.0,
-                  "ReceivedBytes" : 103.703968254,
-                  "NumOpenConnections" : 0.0,
-                  "callQueueLen" : 0.0,
-                  "rpcAuthenticationSuccesses" : 0.0,
-                  "RpcQueueTime_num_ops" : 0.332142857143,
-                  "RpcProcessingTime_num_ops" : 0.332142857143,
-                  "RpcProcessingTime_avg_time" : 0.418981481481,
-                  "rpcAuthenticationFailures" : 0.0,
-                  "RpcQueueTime_avg_time" : 1.22962962963
-                },
-                "ugi" : {
-                  "loginSuccess_num_ops" : 0.0,
-                  "loginFailure_num_ops" : 0.0,
-                  "loginSuccess_avg_time" : 0.0,
-                  "loginFailure_avg_time" : 0.0
-                },
-                "dfs" : {
-                  "namenode" : {
-                    "AddBlockOps" : 0.0,
-                    "fsImageLoadTime" : 2724.0,
-                    "JournalTransactionsBatchedInSync" : 0.0,
-                    "FilesRenamed" : 0.0,
-                    "FileInfoOps" : 0.0,
-                    "CreateFileOps" : 0.0,
-                    "GetListingOps" : 0.0,
-                    "Transactions_num_ops" : 0.0,
-                    "GetBlockLocations" : 0.0,
-                    "Syncs_avg_time" : 77.3333333333,
-                    "blockReport_num_ops" : 0.0,
-                    "Syncs_num_ops" : 0.0,
-                    "SafemodeTime" : 2752.0,
-                    "Transactions_avg_time" : 0.1,
-                    "FilesInGetListingOps" : 0.0,
-                    "FilesDeleted" : 0.0,
-                    "FilesAppended" : 0.0,
-                    "DeleteFileOps" : 0.0,
-                    "FilesCreated" : 0.0,
-                    "blockReport_avg_time" : 0.0
-                  },
-                  "FSNamesystem" : {
-                    "BlocksTotal" : 13.0,
-                    "ScheduledReplicationBlocks" : 0.0,
-                    "CapacityTotalGB" : 49.0,
-                    "CapacityUsedGB" : 0.0,
-                    "ExcessBlocks" : 0.0,
-                    "MissingBlocks" : 0.0,
-                    "PendingReplicationBlocks" : 0.0,
-                    "FilesTotal" : 29.0,
-                    "CapacityRemainingGB" : 43.0,
-                    "UnderReplicatedBlocks" : 13.0,
-                    "TotalLoad" : 1.0,
-                    "PendingDeletionBlocks" : 0.0,
-                    "CorruptBlocks" : 0.0,
-                    "BlockCapacity" : 2097152.0
-                  }
-                },
-                "disk" : {
-                  "disk_total" : 101.515,
-                  "disk_free" : 92.0577916667,
-                  "part_max_used" : 12.8
-                },
-                "cpu" : {
-                  "cpu_speed" : 2008.0,
-                  "cpu_wio" : 1.79194444444,
-                  "cpu_num" : 1.0,
-                  "cpu_idle" : 86.9447222222,
-                  "cpu_nice" : 0.0,
-                  "cpu_aidle" : 0.0,
-                  "cpu_system" : 3.41833333333,
-                  "cpu_user" : 7.89472222222
-                },
-                "rpcdetailed" : {
-                  "addBlock_avg_time" : 1.0,
-                  "versionRequest_num_ops" : 0.0,
-                  "register_num_ops" : 0.0,
-                  "rollFsImage_num_ops" : 0.0,
-                  "getListing_num_ops" : 0.0,
-                  "renewLease_avg_time" : 0.0,
-                  "sendHeartbeat_num_ops" : 0.336031746032,
-                  "blocksBeingWrittenReport_avg_time" : 1.0,
-                  "rename_num_ops" : 0.0,
-                  "create_avg_time" : 54.0,
-                  "mkdirs_avg_time" : 1.0,
-                  "delete_num_ops" : 0.0,
-                  "blockReport_num_ops" : 0.0,
-                  "create_num_ops" : 0.0,
-                  "getEditLogSize_num_ops" : 0.00277777777778,
-                  "rollEditLog_num_ops" : 0.0,
-                  "rollFsImage_avg_time" : 1289.0,
-                  "getBlockLocations_num_ops" : 0.0,
-                  "mkdirs_num_ops" : 0.0,
-                  "delete_avg_time" : 100.25,
-                  "getFileInfo_avg_time" : 31.0,
-                  "addBlock_num_ops" : 0.0,
-                  "rename_avg_time" : 253.0,
-                  "getProtocolVersion_avg_time" : 0.0,
-                  "getListing_avg_time" : 0.0,
-                  "rollEditLog_avg_time" : 369.0,
-                  "blockReceived_avg_time" : 0.5,
-                  "getBlockLocations_avg_time" : 615.0,
-                  "renewLease_num_ops" : 0.0,
-                  "getEditLogSize_avg_time" : 0.0,
-                  "getFileInfo_num_ops" : 0.0,
-                  "register_avg_time" : 3.0,
-                  "setPermission_num_ops" : 0.0,
-                  "sendHeartbeat_avg_time" : 0.841203703704,
-                  "versionRequest_avg_time" : 0.0,
-                  "complete_avg_time" : 58.3333333333,
-                  "complete_num_ops" : 0.0,
-                  "setOwner_num_ops" : 0.0,
-                  "setSafeMode_avg_time" : 0.0,
-                  "blockReceived_num_ops" : 0.0,
-                  "getProtocolVersion_num_ops" : 0.0,
-                  "setOwner_avg_time" : 79.0,
-                  "blocksBeingWrittenReport_num_ops" : 0.0,
-                  "setSafeMode_num_ops" : 0.0,
-                  "setReplication_num_ops" : 0.0,
-                  "blockReport_avg_time" : 43.0,
-                  "setPermission_avg_time" : 80.1666666667,
-                  "setReplication_avg_time" : 118.5
-                },
-                "load" : {
-                  "load_fifteen" : 0.272583333333,
-                  "load_one" : 0.315888888889,
-                  "load_five" : 0.30525
-                },
-                "jvm" : {
-                  "memHeapCommittedM" : 960.0,
-                  "logFatal" : 0.0,
-                  "threadsBlocked" : 0.0,
-                  "threadsWaiting" : 44.0,
-                  "gcCount" : 0.0,
-                  "logWarn" : 0.0,
-                  "logError" : 0.0,
-                  "memNonHeapCommittedM" : 23.1875,
-                  "gcTimeMillis" : 0.0,
-                  "memNonHeapUsedM" : 22.40223115,
-                  "logInfo" : 0.0,
-                  "threadsNew" : 0.0,
-                  "memHeapUsedM" : 497.783871972,
-                  "threadsTerminated" : 0.0,
-                  "threadsTimedWaiting" : 7.60833333333,
-                  "threadsRunnable" : 10.0
-                },
-                "network" : {
-                  "pkts_out" : 56.0974444444,
-                  "bytes_in" : 1128.01433333,
-                  "bytes_out" : 83127.4033333,
-                  "pkts_in" : 11.8415
-                },
-                "memory" : {
-                  "mem_total" : 2054932.0,
-                  "swap_free" : 3637484.38889,
-                  "mem_buffers" : 6294.02222222,
-                  "mem_shared" : 0.0,
-                  "mem_cached" : 103416.622222,
-                  "mem_free" : 80478.5444444,
-                  "swap_total" : 4128760.0
-                }
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/api/clusters/vmc/services/HDFS/components/NAMENODE",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "NAMENODE",
-                    "service_name" : "HDFS"
-                  }
-                }
-              ]
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HDFS_CLIENT",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/HDFS_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HDFS_CLIENT",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/HDFS_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HDFS_CLIENT",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/HDFS_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HDFS_CLIENT",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/HDFS_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HDFS_CLIENT",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
             }
           ]
         },
         {
-          "href" : "http://ambari/api/clusters/vmc/services/HDFS/components/SECONDARY_NAMENODE",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HDFS/components/DATANODE",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "SECONDARY_NAMENODE",
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "DATANODE",
             "service_name" : "HDFS"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/api/clusters/vmc/hosts/hostname/host_components/SECONDARY_NAMENODE",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/DATANODE",
               "HostRoles" : {
-                "configs" : "{\"global\":\"version1\",\"hdfs-site\":\"version1\",\"core-site\":\"version1\"}",
-                "cluster_name" : "vmc",
-                "desired_configs" : "{}",
+                "configs" : {
+                  "hdfs-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
                 "desired_state" : "STARTED",
                 "state" : "STARTED",
-                "component_name" : "SECONDARY_NAMENODE",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/api/clusters/vmc/services/HDFS/components/SECONDARY_NAMENODE",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "SECONDARY_NAMENODE",
-                    "service_name" : "HDFS"
-                  }
-                }
-              ]
+                "component_name" : "DATANODE",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/DATANODE",
+              "HostRoles" : {
+                "configs" : {
+                  "hdfs-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "DATANODE",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/DATANODE",
+              "HostRoles" : {
+                "configs" : {
+                  "hdfs-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "DATANODE",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/DATANODE",
+              "HostRoles" : {
+                "configs" : {
+                  "hdfs-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "DATANODE",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/DATANODE",
+              "HostRoles" : {
+                "configs" : {
+                  "hdfs-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "DATANODE",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
             }
           ]
         },
         {
-          "href" : "http://ambari/api/clusters/vmc/services/HDFS/components/DATANODE",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HDFS/components/NAMENODE",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "DATANODE",
-            "service_name" : "HDFS"
+            "PercentRemaining" : 94.86242,
+            "CapacityUsed" : 482971648,
+            "state" : "STARTED",
+            "HeapMemoryUsed" : 324295392,
+            "service_name" : "HDFS",
+            "UpgradeFinalized" : true,
+            "HeapMemoryMax" : 1006632960,
+            "DecomNodes" : "{}",
+            "Safemode" : "",
+            "CapacityRemaining" : 4210552782848,
+            "StartTime" : 1358245243704,
+            "Version" : "1.1.2.21, r",
+            "BlocksTotal" : 248,
+            "LiveNodes" : "{\"ip-10-110-38-164.ec2.internal\":{\"usedSpace\":87072768,\"lastContact\":1},\"ip-10-110-79-42.ec2.internal\":{\"usedSpace\":133492736,\"lastContact\":1},\"ip-10-191-202-42.ec2.internal\":{\"usedSpace\":65101824,\"lastContact\":1},\"domU-12-31-39-0E-E6-01.compute-1.internal\":{\"usedSpace\":160288768,\"lastContact\":0},\"domU-12-31-39-16-48-4B.compute-1.internal\":{\"usedSpace\":37015552,\"lastContact\":1}}",
+            "component_name" : "NAMENODE",
+            "PercentUsed" : 0.010881199,
+            "TotalFiles" : 375,
+            "NonDfsUsedSpace" : 227552702454,
+            "MissingBlocks" : 0,
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "UnderReplicatedBlocks" : 0,
+            "CapacityTotal" : 4438588456950,
+            "CorruptBlocks" : 0,
+            "DeadNodes" : "{}"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/api/clusters/vmc/hosts/hostname/host_components/DATANODE",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/NAMENODE",
               "HostRoles" : {
-                "configs" : "{\"global\":\"version1\",\"hdfs-site\":\"version1\",\"core-site\":\"version1\"}",
-                "cluster_name" : "vmc",
-                "desired_configs" : "{}",
+                "configs" : {
+                  "hdfs-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
                 "desired_state" : "STARTED",
                 "state" : "STARTED",
-                "component_name" : "DATANODE",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "metrics" : {
-                "boottime" : 1.352763164E9,
-                "process" : {
-                  "proc_total" : 564.188888889,
-                  "proc_run" : 0.336111111111
-                },
-                "rpc" : {
-                  "rpcAuthorizationSuccesses" : 0.0,
-                  "SentBytes" : 0.0,
-                  "rpcAuthorizationFailures" : 0.0,
-                  "ReceivedBytes" : 0.0,
-                  "NumOpenConnections" : 0.0,
-                  "callQueueLen" : 0.0,
-                  "rpcAuthenticationSuccesses" : 0.0,
-                  "RpcQueueTime_num_ops" : 0.0,
-                  "RpcProcessingTime_num_ops" : 0.0,
-                  "RpcProcessingTime_avg_time" : 1.0,
-                  "rpcAuthenticationFailures" : 0.0,
-                  "RpcQueueTime_avg_time" : 0.0
-                },
-                "ugi" : {
-                  "loginSuccess_num_ops" : 0.0,
-                  "loginFailure_num_ops" : 0.0,
-                  "loginSuccess_avg_time" : 0.0,
-                  "loginFailure_avg_time" : 0.0
-                },
-                "dfs" : {
-                  "datanode" : {
-                    "readBlockOp_num_ops" : 0.0,
-                    "writeBlockOp_avg_time" : 21.0,
-                    "block_verification_failures" : 0.0,
-                    "blockChecksumOp_num_ops" : 0.0,
-                    "blocks_read" : 0.0,
-                    "copyBlockOp_avg_time" : 0.0,
-                    "heartBeats_num_ops" : 0.333333333333,
-                    "blocks_written" : 0.0,
-                    "writes_from_remote_client" : 0.0,
-                    "replaceBlockOp_num_ops" : 0.0,
-                    "blockReports_avg_time" : 46.0,
-                    "blocks_replicated" : 0.0,
-                    "writeBlockOp_num_ops" : 0.0,
-                    "heartBeats_avg_time" : 5.73773148148,
-                    "bytes_read" : 0.0,
-                    "copyBlockOp_num_ops" : 0.0,
-                    "blockReports_num_ops" : 0.0,
-                    "bytes_written" : 0.0,
-                    "reads_from_remote_client" : 0.0,
-                    "replaceBlockOp_avg_time" : 0.0,
-                    "readBlockOp_avg_time" : 934.0,
-                    "reads_from_local_client" : 0.0,
-                    "blocks_verified" : 0.0,
-                    "writes_from_local_client" : 0.0,
-                    "blocks_get_local_pathinfo" : 0.0,
-                    "blockChecksumOp_avg_time" : 0.0,
-                    "blocks_removed" : 0.0
-                  }
-                },
-                "disk" : {
-                  "disk_total" : 101.515,
-                  "disk_free" : 92.0577666667,
-                  "part_max_used" : 12.8
-                },
-                "cpu" : {
-                  "cpu_speed" : 2008.0,
-                  "cpu_wio" : 1.70805555556,
-                  "cpu_num" : 1.0,
-                  "cpu_idle" : 87.2375,
-                  "cpu_nice" : 0.0,
-                  "cpu_aidle" : 0.0,
-                  "cpu_system" : 3.28972222222,
-                  "cpu_user" : 7.7775
-                },
-                "load" : {
-                  "load_fifteen" : 0.272722222222,
-                  "load_one" : 0.316222222222,
-                  "load_five" : 0.305555555556
-                },
-                "jvm" : {
-                  "memHeapCommittedM" : 30.375,
-                  "logFatal" : 0.0,
-                  "threadsBlocked" : 0.0,
-                  "threadsWaiting" : 19.4583333333,
-                  "gcCount" : 1.19304647681E7,
-                  "logWarn" : 0.0,
-                  "logError" : 0.0,
-                  "memNonHeapCommittedM" : 23.4869791667,
-                  "gcTimeMillis" : 1.19304647765E7,
-                  "memNonHeapUsedM" : 23.2105413333,
-                  "logInfo" : 0.0,
-                  "threadsNew" : 0.0,
-                  "memHeapUsedM" : 10.49922513,
-                  "threadsTerminated" : 0.0,
-                  "threadsTimedWaiting" : 8.18611111111,
-                  "threadsRunnable" : 6.20833333333
-                },
-                "network" : {
-                  "pkts_out" : 54.8500833333,
-                  "bytes_in" : 1214.2515,
-                  "bytes_out" : 81038.1935556,
-                  "pkts_in" : 11.8470555556
-                },
-                "memory" : {
-                  "mem_total" : 2054932.0,
-                  "swap_free" : 3637484.9,
-                  "mem_buffers" : 6302.37777778,
-                  "mem_shared" : 0.0,
-                  "mem_cached" : 103446.255556,
-                  "mem_free" : 80419.4222222,
-                  "swap_total" : 4128760.0
-                }
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/api/clusters/vmc/services/HDFS/components/DATANODE",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "DATANODE",
-                    "service_name" : "HDFS"
-                  }
-                }
-              ]
+                "component_name" : "NAMENODE",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
             }
           ]
         },
         {
-          "href" : "http://ambari/api/clusters/vmc/services/HDFS/components/HDFS_CLIENT",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HDFS/components/SECONDARY_NAMENODE",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "HDFS_CLIENT",
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "SECONDARY_NAMENODE",
             "service_name" : "HDFS"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/api/clusters/vmc/hosts/hostname/host_components/HDFS_CLIENT",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/SECONDARY_NAMENODE",
               "HostRoles" : {
-                "configs" : "{}",
-                "cluster_name" : "vmc",
-                "desired_configs" : "{}",
-                "desired_state" : "INSTALLED",
-                "state" : "INSTALLED",
-                "component_name" : "HDFS_CLIENT",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/api/clusters/vmc/services/HDFS/components/HDFS_CLIENT",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "HDFS_CLIENT",
-                    "service_name" : "HDFS"
-                  }
-                }
-              ]
+                "configs" : {
+                  "hdfs-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "SECONDARY_NAMENODE",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
             }
           ]
         }
       ]
     },
     {
-      "href" : "http://ambari/api/clusters/vmc/services/MAPREDUCE",
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/MAPREDUCE",
       "ServiceInfo" : {
-        "cluster_name" : "vmc",
+        "cluster_name" : "cl1",
         "service_name" : "MAPREDUCE"
       },
       "components" : [
         {
-          "href" : "http://ambari/api/clusters/vmc/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "INSTALLED",
             "component_name" : "MAPREDUCE_CLIENT",
             "service_name" : "MAPREDUCE"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/api/clusters/vmc/hosts/hostname/host_components/MAPREDUCE_CLIENT",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/MAPREDUCE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "MAPREDUCE_CLIENT",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/MAPREDUCE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "MAPREDUCE_CLIENT",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/MAPREDUCE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "MAPREDUCE_CLIENT",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/MAPREDUCE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "MAPREDUCE_CLIENT",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/MAPREDUCE_CLIENT",
               "HostRoles" : {
-                "configs" : "{}",
-                "cluster_name" : "vmc",
-                "desired_configs" : "{}",
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
                 "desired_state" : "INSTALLED",
                 "state" : "INSTALLED",
                 "component_name" : "MAPREDUCE_CLIENT",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/api/clusters/vmc/services/MAPREDUCE/components/MAPREDUCE_CLIENT",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "MAPREDUCE_CLIENT",
-                    "service_name" : "MAPREDUCE"
-                  }
-                }
-              ]
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
             }
           ]
         },
         {
-          "href" : "http://ambari/api/clusters/vmc/services/MAPREDUCE/components/JOBTRACKER",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/MAPREDUCE/components/TASKTRACKER",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "JOBTRACKER",
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "TASKTRACKER",
             "service_name" : "MAPREDUCE"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/api/clusters/vmc/hosts/hostname/host_components/JOBTRACKER",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/TASKTRACKER",
               "HostRoles" : {
-                "configs" : "{\"mapred-site\":\"version1\",\"global\":\"version1\",\"core-site\":\"version1\"}",
-                "cluster_name" : "vmc",
-                "desired_configs" : "{}",
+                "configs" : {
+                  "mapred-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
                 "desired_state" : "STARTED",
                 "state" : "STARTED",
-                "component_name" : "JOBTRACKER",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "metrics" : {
-                "boottime" : 1.352763164E9,
-                "process" : {
-                  "proc_total" : 564.116666667,
-                  "proc_run" : 0.855555555556
-                },
-                "rpc" : {
-                  "rpcAuthorizationSuccesses" : 0.0,
-                  "SentBytes" : 352.19984127,
-                  "rpcAuthorizationFailures" : 0.0,
-                  "ReceivedBytes" : 1030.2668254,
-                  "NumOpenConnections" : 0.0,
-                  "callQueueLen" : 0.0,
-                  "rpcAuthenticationSuccesses" : 0.0,
-                  "RpcQueueTime_num_ops" : 3.29158730159,
-                  "RpcProcessingTime_num_ops" : 3.29158730159,
-                  "RpcProcessingTime_avg_time" : 0.134157754011,
-                  "rpcAuthenticationFailures" : 0.0,
-                  "RpcQueueTime_avg_time" : 0.0977902326432
-                },
-                "ugi" : {
-                  "loginSuccess_num_ops" : 0.0,
-                  "loginFailure_num_ops" : 0.0,
-                  "loginSuccess_avg_time" : 0.0,
-                  "loginFailure_avg_time" : 0.0
-                },
-                "mapred" : {
-                  "Queue" : {
-                    "maps_killed" : 0.0,
-                    "reduces_killed" : 0.0,
-                    "jobs_failed" : 0.0,
-                    "reduces_completed" : 0.0,
-                    "running_0" : 0.0,
-                    "reduces_failed" : 0.0,
-                    "reserved_map_slots" : 0.0,
-                    "jobs_completed" : 0.0,
-                    "waiting_maps" : 0.0,
-                    "running_1440" : 0.0,
-                    "maps_completed" : 0.0,
-                    "jobs_preparing" : 0.0,
-                    "jobs_submitted" : 0.0,
-                    "reserved_reduce_slots" : 0.0,
-                    "jobs_running" : 0.0,
-                    "running_300" : 0.0,
-                    "maps_launched" : 0.0,
-                    "reduces_launched" : 0.0,
-                    "running_60" : 0.0,
-                    "waiting_reduces" : 0.0,
-                    "maps_failed" : 0.0,
-                    "jobs_killed" : 0.0
-                  },
-                  "jobtracker" : {
-                    "blacklisted_maps" : 0.0,
-                    "running_maps" : 0.0,
-                    "jobs_failed" : 0.0,
-                    "waiting_maps" : 0.0,
-                    "maps_completed" : 0.0,
-                    "trackers" : 1.0,
-                    "jobs_submitted" : 0.0,
-                    "map_slots" : 4.0,
-                    "reserved_reduce_slots" : 0.0,
-                    "trackers_graylisted" : 0.0,
-                    "heartbeats" : 3.35706349206,
-                    "jobs_running" : 0.0,
-                    "blacklisted_reduces" : 0.0,
-                    "maps_launched" : 0.0,
-                    "occupied_map_slots" : 0.0,
-                    "reduces_launched" : 0.0,
-                    "jobs_killed" : 0.0,
-                    "maps_failed" : 0.0,
-                    "maps_killed" : 0.0,
-                    "reduce_slots" : 2.0,
-                    "reduces_killed" : 0.0,
-                    "reduces_completed" : 0.0,
-                    "jobs_completed" : 0.0,
-                    "reserved_map_slots" : 0.0,
-                    "trackers_decommissioned" : 0.0,
-                    "reduces_failed" : 0.0,
-                    "trackers_blacklisted" : 0.0,
-                    "jobs_preparing" : 0.0,
-                    "running_reduces" : 0.0,
-                    "occupied_reduce_slots" : 0.0,
-                    "waiting_reduces" : 0.0
-                  }
-                },
-                "disk" : {
-                  "disk_total" : 101.515,
-                  "disk_free" : 92.0470694444,
-                  "part_max_used" : 12.8
-                },
-                "cpu" : {
-                  "cpu_speed" : 2008.0,
-                  "cpu_wio" : 2.05527777778,
-                  "cpu_num" : 1.0,
-                  "cpu_idle" : 88.1533333333,
-                  "cpu_nice" : 0.0,
-                  "cpu_aidle" : 0.0,
-                  "cpu_system" : 2.83805555556,
-                  "cpu_user" : 8.3275
-                },
-                "rpcdetailed" : {
-                  "getJobProfile_num_ops" : 0.0,
-                  "getStagingAreaDir_num_ops" : 0.0,
-                  "getProtocolVersion_avg_time" : 0.0,
-                  "getBuildVersion_avg_time" : 0.0,
-                  "getBuildVersion_num_ops" : 0.0,
-                  "getNewJobId_avg_time" : 0.0,
-                  "getQueueAdmins_num_ops" : 0.0,
-                  "getSystemDir_num_ops" : 0.0,
-                  "getTaskCompletionEvents_num_ops" : 0.0,
-                  "getJobProfile_avg_time" : 0.0,
-                  "submitJob_num_ops" : 0.0,
-                  "getStagingAreaDir_avg_time" : 1.0,
-                  "getNewJobId_num_ops" : 0.0,
-                  "getJobCounters_num_ops" : 0.0,
-                  "getTaskCompletionEvents_avg_time" : 0.0,
-                  "getProtocolVersion_num_ops" : 0.0,
-                  "submitJob_avg_time" : 545.0,
-                  "getSystemDir_avg_time" : 0.0,
-                  "getJobStatus_num_ops" : 0.0,
-                  "getJobCounters_avg_time" : 20.0,
-                  "getQueueAdmins_avg_time" : 0.0,
-                  "heartbeat_num_ops" : 3.29158730159,
-                  "heartbeat_avg_time" : 0.134157754011,
-                  "getJobStatus_avg_time" : 0.166666666667
+                "component_name" : "TASKTRACKER",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/TASKTRACKER",
+              "HostRoles" : {
+                "configs" : {
+                  "mapred-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
                 },
-                "load" : {
-                  "load_fifteen" : 0.272111111111,
-                  "load_one" : 0.313444444444,
-                  "load_five" : 0.304222222222
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "TASKTRACKER",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/TASKTRACKER",
+              "HostRoles" : {
+                "configs" : {
+                  "mapred-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
                 },
-                "jvm" : {
-                  "memHeapCommittedM" : 185.1875,
-                  "logFatal" : 0.0,
-                  "threadsBlocked" : 0.0,
-                  "threadsWaiting" : 19.0,
-                  "gcCount" : 0.0,
-                  "logWarn" : 0.0,
-                  "logError" : 0.0,
-                  "memNonHeapCommittedM" : 39.359375,
-                  "gcTimeMillis" : 0.0,
-                  "memNonHeapUsedM" : 24.719704,
-                  "logInfo" : 0.0,
-                  "threadsNew" : 0.0,
-                  "memHeapUsedM" : 98.3368977361,
-                  "threadsTerminated" : 0.0,
-                  "threadsTimedWaiting" : 9.15277777778,
-                  "threadsRunnable" : 6.0
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "TASKTRACKER",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/TASKTRACKER",
+              "HostRoles" : {
+                "configs" : {
+                  "mapred-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
                 },
-                "network" : {
-                  "pkts_out" : 47.5443055556,
-                  "bytes_in" : 1068.21930556,
-                  "bytes_out" : 45176.4890833,
-                  "pkts_in" : 10.3709166667
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "TASKTRACKER",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/TASKTRACKER",
+              "HostRoles" : {
+                "configs" : {
+                  "mapred-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
                 },
-                "memory" : {
-                  "mem_total" : 2054932.0,
-                  "swap_free" : 3636565.98889,
-                  "mem_buffers" : 6287.71111111,
-                  "mem_shared" : 0.0,
-                  "mem_cached" : 100755.944444,
-                  "mem_free" : 83693.0888889,
-                  "swap_total" : 4128760.0
-                }
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/api/clusters/vmc/services/MAPREDUCE/components/JOBTRACKER",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "JOBTRACKER",
-                    "service_name" : "MAPREDUCE"
-                  }
-                }
-              ]
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "TASKTRACKER",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
             }
           ]
         },
         {
-          "href" : "http://ambari/api/clusters/vmc/services/MAPREDUCE/components/TASKTRACKER",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/MAPREDUCE/components/JOBTRACKER",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "TASKTRACKER",
-            "service_name" : "MAPREDUCE"
+            "component_name" : "JOBTRACKER",
+            "state" : "STARTED",
+            "HeapMemoryUsed" : 129384032,
+            "service_name" : "MAPREDUCE",
+            "HeapMemoryMax" : 1052770304,
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "jobs_running" : 0,
+            "BlackListedNodes" : "[]",
+            "StartTime" : 1358245381436,
+            "AliveNodes" : "[{\"hostname\":\"domU-12-31-39-16-48-4B.compute-1.internal\",\"last_seen\":1358264806195,\"health\":\"OK\",\"slots\":{\"map_slots\":4,\"map_slots_used\":0,\"reduce_slots\":2,\"reduce_slots_used\":0},\"failures\":0,\"dir_failures\":0},{\"hostname\":\"ip-10-110-38-164.ec2.internal\",\"last_seen\":1358264806343,\"health\":\"OK\",\"slots\":{\"map_slots\":4,\"map_slots_used\":0,\"reduce_slots\":2,\"reduce_slots_used\":0},\"failures\":0,\"dir_failures\":0},{\"hostname\":\"domU-12-31-39-0E-E6-01.compute-1.internal\",\"last_seen\":1358264806332,\"health\":\"OK\",\"slots\":{\"map_slots\":4,\"map_slots_used\":0,\"reduce_slots\":2,\"reduce_slots_used\":0},\"failures\":0,\"dir_failures\":0},{\"hostname\":\"ip-10-191-202-42.ec2.internal\",\"last_seen\":1358264806381,\"health\":\"OK\",\"slots\":{\"map_slots\":4,\"map_slots_used\":0,\"reduce_slots\":2,\"reduce_slots_used\":0},\"failures\":0,\"dir_failures\":0},{\"hostname\":\"ip-10-110-79-42.ec2.internal\",\"last_seen\":1358264806352,\"health\":\"OK\",\"slots\":{\"map_slots\":4,\"map_slots_used\":0,\"reduce_slots\":2,\"reduce_slots_used\":0},\"failures\":0,\"dir_failures\":0}]",
+            "Version" : "1.1.2.21, r",
+            "GrayListedNodes" : "[]",
+            "Queue" : {
+              "reserved_reduce_slots" : 0,
+              "running_300" : 0,
+              "jobs_completed" : 4,
+              "reserved_map_slots" : 0,
+              "running_0" : 0,
+              "waiting_maps" : 0,
+              "running_1440" : 0,
+              "running_60" : 0,
+              "jobs_submitted" : 4,
+              "waiting_reduces" : 0
+            },
+            "jobtracker" : {
+              "reserved_reduce_slots" : 0,
+              "running_maps" : 0,
+              "jobs_running" : 0,
+              "running_reduces" : 0,
+              "occupied_map_slots" : 0,
+              "reserved_map_slots" : 0,
+              "jobs_completed" : 4,
+              "waiting_maps" : 0,
+              "jobs_submitted" : 4,
+              "occupied_reduce_slots" : 0,
+              "waiting_reduces" : 0
+            }
           },
           "host_components" : [
             {
-              "href" : "http://ambari/api/clusters/vmc/hosts/hostname/host_components/TASKTRACKER",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/JOBTRACKER",
               "HostRoles" : {
-                "configs" : "{\"mapred-site\":\"version1\",\"global\":\"version1\",\"core-site\":\"version1\"}",
-                "cluster_name" : "vmc",
-                "desired_configs" : "{}",
+                "configs" : {
+                  "mapred-site" : "version1",
+                  "global" : "version1",
+                  "core-site" : "version1"
+                },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
                 "desired_state" : "STARTED",
                 "state" : "STARTED",
-                "component_name" : "TASKTRACKER",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "metrics" : {
-                "boottime" : 1.352763164E9,
-                "process" : {
-                  "proc_total" : 564.188888889,
-                  "proc_run" : 0.336111111111
-                },
-                "rpc" : {
-                  "rpcAuthorizationSuccesses" : 0.0,
-                  "SentBytes" : 0.0,
-                  "rpcAuthorizationFailures" : 0.0,
-                  "ReceivedBytes" : 0.0,
-                  "NumOpenConnections" : 0.0,
-                  "callQueueLen" : 0.0,
-                  "rpcAuthenticationSuccesses" : 0.0,
-                  "RpcQueueTime_num_ops" : 0.0,
-                  "RpcProcessingTime_num_ops" : 0.0,
-                  "RpcProcessingTime_avg_time" : 1.0,
-                  "rpcAuthenticationFailures" : 0.0,
-                  "RpcQueueTime_avg_time" : 0.0
-                },
-                "ugi" : {
-                  "loginSuccess_num_ops" : 0.0,
-                  "loginFailure_num_ops" : 0.0,
-                  "loginSuccess_avg_time" : 0.0,
-                  "loginFailure_avg_time" : 0.0
-                },
-                "mapred" : {
-                  "shuffleOutput" : {
-                    "shuffle_handler_busy_percent" : 0.0
-                  },
-                  "tasktracker" : {
-                    "reduces_running" : 0.0,
-                    "maps_running" : 0.0,
-                    "reduceTaskSlots" : 2.0,
-                    "mapTaskSlots" : 4.0
-                  }
-                },
-                "disk" : {
-                  "disk_total" : 101.515,
-                  "disk_free" : 92.0577666667,
-                  "part_max_used" : 12.8
-                },
-                "cpu" : {
-                  "cpu_speed" : 2008.0,
-                  "cpu_wio" : 1.70805555556,
-                  "cpu_num" : 1.0,
-                  "cpu_idle" : 87.2375,
-                  "cpu_nice" : 0.0,
-                  "cpu_aidle" : 0.0,
-                  "cpu_system" : 3.28972222222,
-                  "cpu_user" : 7.7775
-                },
-                "rpcdetailed" : {
-                  "getProtocolVersion_avg_time" : 0.0,
-                  "getProtocolVersion_num_ops" : 32
+                "component_name" : "JOBTRACKER",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HIVE",
+      "ServiceInfo" : {
+        "cluster_name" : "cl1",
+        "service_name" : "HIVE"
+      },
+      "components" : [
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HIVE/components/HIVE_METASTORE",
+          "ServiceComponentInfo" : {
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "HIVE_METASTORE",
+            "service_name" : "HIVE"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/HIVE_METASTORE",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1",
+                  "hive-site" : "version1"
                 },
-                "load" : {
-                  "load_fifteen" : 0.272722222222,
-                  "load_one" : 0.316222222222,
-                  "load_five" : 0.305555555556
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "HIVE_METASTORE",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HIVE/components/HIVE_CLIENT",
+          "ServiceComponentInfo" : {
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "INSTALLED",
+            "component_name" : "HIVE_CLIENT",
+            "service_name" : "HIVE"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/HIVE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HIVE_CLIENT",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/HIVE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HIVE_CLIENT",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/HIVE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HIVE_CLIENT",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/HIVE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HIVE_CLIENT",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/HIVE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HIVE_CLIENT",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HIVE/components/MYSQL_SERVER",
+          "ServiceComponentInfo" : {
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "MYSQL_SERVER",
+            "service_name" : "HIVE"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/MYSQL_SERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1",
+                  "hive-site" : "version1"
                 },
-                "jvm" : {
-                  "memHeapCommittedM" : 30.375,
-                  "logFatal" : 0.0,
-                  "threadsBlocked" : 0.0,
-                  "threadsWaiting" : 19.4583333333,
-                  "gcCount" : 1.19304647681E7,
-                  "logWarn" : 0.0,
-                  "logError" : 0.0,
-                  "memNonHeapCommittedM" : 23.4869791667,
-                  "gcTimeMillis" : 1.19304647765E7,
-                  "memNonHeapUsedM" : 23.2105413333,
-                  "logInfo" : 0.0,
-                  "threadsNew" : 0.0,
-                  "memHeapUsedM" : 10.49922513,
-                  "threadsTerminated" : 0.0,
-                  "threadsTimedWaiting" : 8.18611111111,
-                  "threadsRunnable" : 6.20833333333
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "MYSQL_SERVER",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HIVE/components/HIVE_SERVER",
+          "ServiceComponentInfo" : {
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "HIVE_SERVER",
+            "service_name" : "HIVE"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/HIVE_SERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1",
+                  "hive-site" : "version1"
                 },
-                "network" : {
-                  "pkts_out" : 54.8500833333,
-                  "bytes_in" : 1214.2515,
-                  "bytes_out" : 81038.1935556,
-                  "pkts_in" : 11.8470555556
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "HIVE_SERVER",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/WEBHCAT",
+      "ServiceInfo" : {
+        "cluster_name" : "cl1",
+        "service_name" : "WEBHCAT"
+      },
+      "components" : [
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/WEBHCAT/components/WEBHCAT_SERVER",
+          "ServiceComponentInfo" : {
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "WEBHCAT_SERVER",
+            "service_name" : "WEBHCAT"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/WEBHCAT_SERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1",
+                  "webhcat-site" : "version1"
                 },
-                "memory" : {
-                  "mem_total" : 2054932.0,
-                  "swap_free" : 3637484.9,
-                  "mem_buffers" : 6302.37777778,
-                  "mem_shared" : 0.0,
-                  "mem_cached" : 103446.255556,
-                  "mem_free" : 80419.4222222,
-                  "swap_total" : 4128760.0
-                }
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/api/clusters/vmc/services/MAPREDUCE/components/TASKTRACKER",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "TASKTRACKER",
-                    "service_name" : "MAPREDUCE"
-                  }
-                }
-              ]
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "WEBHCAT_SERVER",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
             }
           ]
         }
       ]
     },
     {
-      "href" : "http://ambari/clusters/vmc/services/HBASE",
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/PIG",
       "ServiceInfo" : {
-        "cluster_name" : "vmc",
-        "service_name" : "HBASE"
+        "cluster_name" : "cl1",
+        "service_name" : "PIG"
       },
       "components" : [
         {
-          "href" : "http://ambari/clusters/vmc/services/HBASE/components/HBASE_CLIENT",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/PIG/components/PIG",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "HBASE_CLIENT",
-            "service_name" : "HBASE"
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "INSTALLED",
+            "component_name" : "PIG",
+            "service_name" : "PIG"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/clusters/vmc/hosts/ip-10-72-35-220.ec2.internal/host_components/HBASE_CLIENT",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/PIG",
               "HostRoles" : {
-                "cluster_name" : "vmc",
-                "role_id" : "45",
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
                 "state" : "INSTALLED",
-                "component_name" : "HBASE_CLIENT",
-                "host_name" : "ip-10-72-35-220.ec2.internal"
-              },
-              "metrics" : {
-                "boottime" : 1.35085738E9,
-                "process" : {
-                  "proc_total" : 256.0,
-                  "proc_run" : 0.0
-                },
-                "rpc" : {
-                  "rpcAuthorizationSuccesses" : 0.0,
-                  "SentBytes" : 0.0,
-                  "rpcAuthorizationFailures" : 0.0,
-                  "ReceivedBytes" : 0.0,
-                  "NumOpenConnections" : 0.0,
-                  "callQueueLen" : 0.0,
-                  "rpcAuthenticationSuccesses" : 0.0,
-                  "RpcQueueTime_num_ops" : 0.0,
-                  "RpcProcessingTime_num_ops" : 0.0,
-                  "RpcProcessingTime_avg_time" : 0.833333333,
-                  "rpcAuthenticationFailures" : 0.0,
-                  "RpcQueueTime_avg_time" : 0.0
-                },
-                "ugi" : {
-                  "loginSuccess_num_ops" : 0.0,
-                  "loginFailure_num_ops" : 0.0,
-                  "loginSuccess_avg_time" : 0.0,
-                  "loginFailure_avg_time" : 0.0
-                },
-                "disk" : {
-                  "disk_total" : 0.0,
-                  "disk_free" : 845.273,
-                  "part_max_used" : 0.0
-                },
-                "cpu" : {
-                  "cpu_speed" : 2266.0,
-                  "cpu_num" : 2.0,
-                  "cpu_wio" : 0.0,
-                  "cpu_idle" : 0.0,
-                  "cpu_nice" : 0.0,
-                  "cpu_aidle" : 0.0,
-                  "cpu_system" : 0.0,
-                  "cpu_user" : 0.0
-                },
-                "jvm" : {
-                  "memHeapCommittedM" : 0.0,
-                  "logFatal" : 0.0,
-                  "threadsBlocked" : 0.0,
-                  "threadsWaiting" : 0.0,
-                  "gcCount" : 4.00522301E7,
-                  "logError" : 0.0,
-                  "logWarn" : 0.0,
-                  "memNonHeapCommittedM" : 0.0,
-                  "gcTimeMillis" : 4.00522105E7,
-                  "memNonHeapUsedM" : 0.0,
-                  "logInfo" : 0.0,
-                  "threadsNew" : 0.0,
-                  "memHeapUsedM" : 25.1243319,
-                  "threadsTerminated" : 0.0,
-                  "threadsTimedWaiting" : 7.86944444,
-                  "maxMemoryM" : 0.0,
-                  "threadsRunnable" : 12.0861111
-                },
-                "load" : {
-                  "load_fifteen" : 0.0,
-                  "load_one" : 0.0,
-                  "load_five" : 0.0
-                },
-                "memory" : {
-                  "mem_total" : 0.0,
-                  "swap_free" : 0.0,
-                  "mem_buffers" : 274835.867,
-                  "mem_shared" : 0.0,
-                  "mem_cached" : 0.0,
-                  "mem_free" : 4953373.72,
-                  "swap_total" : 0.0
+                "component_name" : "PIG",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/PIG",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "PIG",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/PIG",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "PIG",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/PIG",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "PIG",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/PIG",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "PIG",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/GANGLIA",
+      "ServiceInfo" : {
+        "cluster_name" : "cl1",
+        "service_name" : "GANGLIA"
+      },
+      "components" : [
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/GANGLIA/components/GANGLIA_SERVER",
+          "ServiceComponentInfo" : {
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "GANGLIA_SERVER",
+            "service_name" : "GANGLIA"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/GANGLIA_SERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1"
                 },
-                "network" : {
-                  "pkts_out" : 85.1731944,
-                  "bytes_in" : 0.0,
-                  "bytes_out" : 16002.9854,
-                  "pkts_in" : 2.26458333
-                }
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/clusters/vmc/services/HBASE/components/HBASE_CLIENT",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "HBASE_CLIENT",
-                    "service_name" : "HBASE"
-                  }
-                }
-              ]
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "GANGLIA_SERVER",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
             }
           ]
         },
         {
-          "href" : "http://ambari/clusters/vmc/services/HBASE/components/HBASE_MASTER",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/GANGLIA/components/GANGLIA_MONITOR",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "HBASE_MASTER",
-            "service_name" : "HBASE"
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "GANGLIA_MONITOR",
+            "service_name" : "GANGLIA"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/clusters/vmc/hosts/dev.hortonworks.com/host_components/HBASE_MASTER",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/GANGLIA_MONITOR",
               "HostRoles" : {
-                "cluster_name" : "vmc",
-                "role_id" : "7",
-                "state" : "STARTED",
-                "component_name" : "HBASE_MASTER",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "metrics" : {
-                "boottime" : 1.35085737E9,
-                "process" : {
-                  "proc_total" : 351.569444,
-                  "proc_run" : 0.688888889
-                },
-                "hbase" : {
-                  "master" : {
-                    "splitSize_avg_time" : 0.0,
-                    "splitTime_avg_time" : 0.0,
-                    "cluster_requests" : 0.0138888892,
-                    "splitTime_num_ops" : 0.0,
-                    "splitSize_num_ops" : 0.0
-                  }
+                "configs" : {
+                  "global" : "version1"
                 },
-                "disk" : {
-                  "disk_total" : 893.764,
-                  "disk_free" : 844.711,
-                  "part_max_used" : 58.6
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "GANGLIA_MONITOR",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/GANGLIA_MONITOR",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1"
                 },
-                "cpu" : {
-                  "cpu_speed" : 2659.0,
-                  "cpu_num" : 2.0,
-                  "cpu_wio" : 0.0730555556,
-                  "cpu_idle" : 99.8522222,
-                  "cpu_nice" : 0.0,
-                  "cpu_aidle" : 0.0,
-                  "cpu_system" : 0.0247222222,
-                  "cpu_user" : 0.0747222222
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "GANGLIA_MONITOR",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/GANGLIA_MONITOR",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1"
                 },
-                "jvm" : {
-                  "memHeapCommittedM" : 81.0625,
-                  "logFatal" : 0.0,
-                  "threadsBlocked" : 0.0,
-                  "threadsWaiting" : 41.0,
-                  "gcCount" : 15276.8639,
-                  "logError" : 0.0,
-                  "logWarn" : 0.0,
-                  "memNonHeapCommittedM" : 40.242188,
-                  "gcTimeMillis" : 24517.1361,
-                  "memNonHeapUsedM" : 27.285767,
-                  "logInfo" : 0.0,
-                  "threadsNew" : 0.0,
-                  "memHeapUsedM" : 12.2370905,
-                  "threadsTerminated" : 0.0,
-                  "threadsTimedWaiting" : 12.1666667,
-                  "maxMemoryM" : 1723.875,
-                  "threadsRunnable" : 17.0
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "GANGLIA_MONITOR",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/GANGLIA_MONITOR",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1"
                 },
-                "load" : {
-                  "load_fifteen" : 0.0,
-                  "load_one" : 0.035,
-                  "load_five" : 0.0196388889
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "GANGLIA_MONITOR",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/GANGLIA_MONITOR",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1"
                 },
-                "memory" : {
-                  "mem_total" : 7864320.0,
-                  "swap_free" : 0.0,
-                  "mem_buffers" : 227652.0,
-                  "mem_shared" : 0.0,
-                  "mem_cached" : 1911099.56,
-                  "mem_free" : 4251389.64,
-                  "swap_total" : 0.0
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "GANGLIA_MONITOR",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/OOZIE",
+      "ServiceInfo" : {
+        "cluster_name" : "cl1",
+        "service_name" : "OOZIE"
+      },
+      "components" : [
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/OOZIE/components/OOZIE_SERVER",
+          "ServiceComponentInfo" : {
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "OOZIE_SERVER",
+            "service_name" : "OOZIE"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/OOZIE_SERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1",
+                  "oozie-site" : "version1"
                 },
-                "network" : {
-                  "pkts_out" : 58.7640278,
-                  "bytes_in" : 1492.3225,
-                  "bytes_out" : 11377.1212,
-                  "pkts_in" : 10.5369167
-                }
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/clusters/vmc/services/HBASE/components/HBASE_MASTER",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "HBASE_MASTER",
-                    "service_name" : "HBASE"
-                  }
-                }
-              ]
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "OOZIE_SERVER",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
             }
           ]
         },
         {
-          "href" : "http://ambari/clusters/vmc/services/HBASE/components/HBASE_REGIONSERVER",
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/OOZIE/components/OOZIE_CLIENT",
           "ServiceComponentInfo" : {
-            "cluster_name" : "vmc",
-            "component_name" : "HBASE_REGIONSERVER",
-            "service_name" : "HBASE"
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "INSTALLED",
+            "component_name" : "OOZIE_CLIENT",
+            "service_name" : "OOZIE"
           },
           "host_components" : [
             {
-              "href" : "http://ambari/clusters/vmc/hosts/domu-12-31-39-15-6d-4a.compute-1.internal/host_components/HBASE_REGIONSERVER",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/OOZIE_CLIENT",
               "HostRoles" : {
-                "cluster_name" : "vmc",
-                "role_id" : "36",
-                "state" : "STARTED",
-                "component_name" : "HBASE_REGIONSERVER",
-                "host_name" : "domu-12-31-39-15-6d-4a.compute-1.internal"
-              },
-              "metrics" : {
-                "boottime" : 0.0,
-                "process" : {
-                  "proc_total" : 0.0,
-                  "proc_run" : 0.0
-                },
-                "rpc" : {
-                  "rpcAuthorizationSuccesses" : 0.0,
-                  "SentBytes" : 0.0,
-                  "rpcAuthorizationFailures" : 0.0,
-                  "ReceivedBytes" : 0.0,
-                  "NumOpenConnections" : 0.0,
-                  "callQueueLen" : 0.0,
-                  "rpcAuthenticationSuccesses" : 0.0,
-                  "RpcQueueTime_num_ops" : 0.0,
-                  "RpcProcessingTime_num_ops" : 0.0,
-                  "RpcProcessingTime_avg_time" : 0.333333333,
-                  "rpcAuthenticationFailures" : 0.0,
-                  "RpcQueueTime_avg_time" : 37.6666667
-                },
-                "ugi" : {
-                  "loginSuccess_num_ops" : 0.0,
-                  "loginFailure_num_ops" : 0.0,
-                  "loginSuccess_avg_time" : 0.0,
-                  "loginFailure_avg_time" : 0.0
-                },
-                "hbase" : {
-                  "regionserver" : {
-                    "compactionSize_avg_time" : 0.0,
-                    "deleteRequestLatency_min" : 0.0,
-                    "getRequestLatency_95th_percentile" : 0.0,
-                    "getRequestLatency_min" : 0.0,
-                    "fsReadLatencyHistogram_99th_percentile" : 0.0,
-                    "fsWriteLatencyHistogram_median" : 0.0,
-                    "getRequestLatency_num_ops" : 0.0,
-                    "hlogFileCount" : 1.0,
-                    "requests" : 0.0,
-                    "fsReadLatencyHistogram_num_ops" : 0.0,
-                    "hdfsBlocksLocalityIndex" : 0.0,
-                    "fsWriteLatencyHistogram_std_dev" : 0.0,
-                    "writeRequestsCount" : 0.0,
-                    "flushSize_avg_time" : 0.0,
-                    "fsWriteLatencyHistogram_max" : 0.0,
-                    "deleteRequestLatency_max" : 0.0,
-                    "deleteRequestLatency_std_dev" : 0.0,
-                    "getRequestLatency_75th_percentile" : 0.0,
-                    "fsSyncLatency_num_ops" : 1996062.63,
-                    "putRequestLatency_max" : 0.0,
-                    "getRequestLatency_mean" : 0.0,
-                    "fsWriteLatencyHistogram_95th_percentile" : 0.0,
-                    "fsSyncLatency_avg_time" : 0.0,
-                    "deleteRequestLatency_num_ops" : 0.0,
-                    "deleteRequestLatency_median" : 0.0,
-                    "compactionTime_num_ops" : 0.0,
-                    "compactionSize_num_ops" : 0.0,
-                    "deleteRequestLatency_mean" : 0.0,
-                    "putRequestLatency_num_ops" : 0.0,
-                    "blockCacheEvictedCount" : 0.0,
-                    "fsReadLatencyHistogram_mean" : 0.0,
-                    "storefileIndexSizeMB" : 0.0,
-                    "fsWriteLatencyHistogram_75th_percentile" : 0.0,
-                    "fsWriteLatency_avg_time" : 0.0,
-                    "fsReadLatencyHistogram_max" : 0.0,
-                    "compactionQueueSize" : 0.0,
-                    "fsWriteLatencyHistogram_min" : 0.0,
-                    "getRequestLatency_99th_percentile" : 0.0,
-                    "fsWriteLatencyHistogram_mean" : 0.0,
-                    "totalStaticBloomSizeKB" : 0.0,
-                    "deleteRequestLatency_99th_percentile" : 0.0,
-                    "putRequestLatency_75th_percentile" : 0.0,
-                    "totalStaticIndexSizeKB" : 0.0,
-                    "putRequestLatency_mean" : 0.0,
-                    "blockCacheFree" : 5.85715584E8,
-                    "fsReadLatency_avg_time" : 0.0,
-                    "deleteRequestLatency_95th_percentile" : 0.0,
-                    "fsWriteLatency_num_ops" : 0.0,
-                    "memstoreSizeMB" : 0.0,
-                    "blockCacheCount" : 0.0,
-                    "regions" : 0.0,
-                    "blockCacheHitRatio" : 0.0,
-                    "flushQueueSize" : 0.0,
-                    "fsReadLatencyHistogram_95th_percentile" : 0.0,
-                    "blockCacheHitCount" : 0.0,
-                    "blockCacheHitCachingRatio" : 0.0,
-                    "flushTime_avg_time" : 0.0,
-                    "putRequestLatency_min" : 0.0,
-                    "fsReadLatencyHistogram_min" : 0.0,
-                    "flushTime_num_ops" : 0.0,
-                    "putRequestLatency_median" : 0.0,
-                    "compactionTime_avg_time" : 0.0,
-                    "getRequestLatency_median" : 0.0,
-                    "fsReadLatency_num_ops" : 0.0,
-                    "readRequestsCount" : 0.0,
-                    "blockCacheSize" : 4845696.0,
-                    "rootIndexSizeKB" : 0.0,
-                    "fsReadLatencyHistogram_std_dev" : 0.0,
-                    "fsReadLatencyHistogram_75th_percentile" : 0.0,
-                    "putRequestLatency_std_dev" : 0.0,
-                    "getRequestLatency_max" : 0.0,
-                    "getRequestLatency_std_dev" : 0.0,
-                    "putRequestLatency_95th_percentile" : 0.0,
-                    "blockCacheMissCount" : 0.0,
-                    "deleteRequestLatency_75th_percentile" : 0.0,
-                    "storefiles" : 1.0,
-                    "fsWriteLatencyHistogram_num_ops" : 0.0,
-                    "flushSize_num_ops" : 0.0,
-                    "putRequestLatency_99th_percentile" : 0.0,
-                    "fsWriteLatencyHistogram_99th_percentile" : 0.0,
-                    "stores" : 0.0,
-                    "fsReadLatencyHistogram_median" : 0.0
-                  }
-                },
-                "disk" : {
-                  "disk_total" : 0.0,
-                  "disk_free" : 845.541,
-                  "part_max_used" : 0.0
-                },
-                "cpu" : {
-                  "cpu_speed" : 0.0,
-                  "cpu_num" : 2.0,
-                  "cpu_wio" : 0.0508333333,
-                  "cpu_idle" : 0.0,
-                  "cpu_nice" : 0.0,
-                  "cpu_aidle" : 0.0,
-                  "cpu_system" : 0.0,
-                  "cpu_user" : 0.0
-                },
-                "jvm" : {
-                  "memHeapCommittedM" : 0.0,
-                  "logFatal" : 0.0,
-                  "threadsBlocked" : 0.0,
-                  "threadsWaiting" : 0.0,
-                  "gcCount" : 0.0,
-                  "logError" : 0.0,
-                  "logWarn" : 0.0,
-                  "memNonHeapCommittedM" : 39.6960069,
-                  "gcTimeMillis" : 8.3513253E7,
-                  "memNonHeapUsedM" : 21.8612905,
-                  "logInfo" : 0.0,
-                  "threadsNew" : 0.0,
-                  "memHeapUsedM" : 54.834693,
-                  "threadsTerminated" : 0.0,
-                  "threadsTimedWaiting" : 0.0,
-                  "maxMemoryM" : 2252.8125,
-                  "threadsRunnable" : 15.6027778
-                },
-                "load" : {
-                  "load_fifteen" : 0.0,
-                  "load_one" : 0.0,
-                  "load_five" : 0.0
-                },
-                "memory" : {
-                  "mem_total" : 7864320.0,
-                  "swap_free" : 0.0,
-                  "mem_buffers" : 0.0,
-                  "mem_shared" : 0.0,
-                  "mem_cached" : 0.0,
-                  "mem_free" : 5216872.38,
-                  "swap_total" : 0.0
-                },
-                "network" : {
-                  "pkts_out" : 0.0,
-                  "bytes_in" : 473.845167,
-                  "bytes_out" : 17525.4473,
-                  "pkts_in" : 0.0
-                }
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/clusters/vmc/services/HBASE/components/HBASE_REGIONSERVER",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "HBASE_REGIONSERVER",
-                    "service_name" : "HBASE"
-                  }
-                }
-              ]
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "OOZIE_CLIENT",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
             },
             {
-              "href" : "http://ambari/clusters/vmc/hosts/domu-12-31-39-0b-0c-21.compute-1.internal/host_components/HBASE_REGIONSERVER",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/OOZIE_CLIENT",
               "HostRoles" : {
-                "cluster_name" : "vmc",
-                "role_id" : "37",
-                "state" : "STARTED",
-                "component_name" : "HBASE_REGIONSERVER",
-                "host_name" : "domu-12-31-39-0b-0c-21.compute-1.internal"
-              },
-              "metrics" : {
-                "boottime" : 1.35085738E9,
-                "process" : {
-                  "proc_total" : 746.186111,
-                  "proc_run" : 2.74166667
-                },
-                "rpc" : {
-                  "rpcAuthorizationSuccesses" : 0.0,
-                  "SentBytes" : 0.0,
-                  "rpcAuthorizationFailures" : 0.0,
-                  "ReceivedBytes" : 0.0,
-                  "NumOpenConnections" : 0.0,
-                  "callQueueLen" : 0.0,
-                  "rpcAuthenticationSuccesses" : 0.0,
-                  "RpcQueueTime_num_ops" : 0.0,
-                  "RpcProcessingTime_num_ops" : 0.0,
-                  "RpcProcessingTime_avg_time" : 0.0,
-                  "rpcAuthenticationFailures" : 0.0,
-                  "RpcQueueTime_avg_time" : 0.0
-                },
-                "ugi" : {
-                  "loginSuccess_num_ops" : 0.0,
-                  "loginFailure_num_ops" : 0.0,
-                  "loginSuccess_avg_time" : 0.0,
-                  "loginFailure_avg_time" : 0.0
-                },
-                "hbase" : {
-                  "regionserver" : {
-                    "compactionSize_avg_time" : 0.0,
-                    "deleteRequestLatency_min" : 0.0,
-                    "getRequestLatency_95th_percentile" : 0.0,
-                    "getRequestLatency_min" : 0.0,
-                    "fsReadLatencyHistogram_99th_percentile" : 0.0,
-                    "fsWriteLatencyHistogram_median" : 0.0,
-                    "getRequestLatency_num_ops" : 0.0,
-                    "hlogFileCount" : 2.0,
-                    "requests" : 0.0416666667,
-                    "fsReadLatencyHistogram_num_ops" : 0.0,
-                    "hdfsBlocksLocalityIndex" : 0.0,
-                    "fsWriteLatencyHistogram_std_dev" : 0.0,
-                    "writeRequestsCount" : 3.0,
-                    "flushSize_avg_time" : 0.0,
-                    "fsWriteLatencyHistogram_max" : 0.0,
-                    "deleteRequestLatency_max" : 0.0,
-                    "deleteRequestLatency_std_dev" : 0.0,
-                    "getRequestLatency_75th_percentile" : 0.0,
-                    "fsSyncLatency_num_ops" : 0.0,
-                    "putRequestLatency_max" : 0.0,
-                    "getRequestLatency_mean" : 0.0,
-                    "fsWriteLatencyHistogram_95th_percentile" : 0.0,
-                    "fsSyncLatency_avg_time" : 0.0,
-                    "deleteRequestLatency_num_ops" : 0.0,
-                    "deleteRequestLatency_median" : 0.0,
-                    "compactionTime_num_ops" : 0.0,
-                    "compactionSize_num_ops" : 0.0,
-                    "deleteRequestLatency_mean" : 0.0,
-                    "putRequestLatency_num_ops" : 0.0,
-                    "blockCacheEvictedCount" : 0.0,
-                    "fsReadLatencyHistogram_mean" : 0.0,
-                    "storefileIndexSizeMB" : 0.0,
-                    "fsWriteLatencyHistogram_75th_percentile" : 0.0,
-                    "fsWriteLatency_avg_time" : 0.0,
-                    "fsReadLatencyHistogram_max" : 0.0,
-                    "compactionQueueSize" : 0.0,
-                    "fsWriteLatencyHistogram_min" : 0.0,
-                    "getRequestLatency_99th_percentile" : 0.0,
-                    "fsWriteLatencyHistogram_mean" : 0.0,
-                    "totalStaticBloomSizeKB" : 0.0,
-                    "deleteRequestLatency_99th_percentile" : 0.0,
-                    "putRequestLatency_75th_percentile" : 0.0,
-                    "totalStaticIndexSizeKB" : 0.0,
-                    "putRequestLatency_mean" : 0.0,
-                    "blockCacheFree" : 0.0,
-                    "fsReadLatency_avg_time" : 0.0,
-                    "deleteRequestLatency_95th_percentile" : 0.0,
-                    "fsWriteLatency_num_ops" : 3.0,
-                    "memstoreSizeMB" : 0.0,
-                    "blockCacheCount" : 0.0,
-                    "regions" : 1.0,
-                    "blockCacheHitRatio" : 0.0,
-                    "flushQueueSize" : 0.0,
-                    "fsReadLatencyHistogram_95th_percentile" : 0.0,
-                    "blockCacheHitCount" : 0.0,
-                    "blockCacheHitCachingRatio" : 0.0,
-                    "flushTime_avg_time" : 0.0,
-                    "putRequestLatency_min" : 0.0,
-                    "fsReadLatencyHistogram_min" : 0.0,
-                    "flushTime_num_ops" : 0.0,
-                    "putRequestLatency_median" : 0.0,
-                    "compactionTime_avg_time" : 0.0,
-                    "getRequestLatency_median" : 0.0,
-                    "fsReadLatency_num_ops" : 0.0,
-                    "readRequestsCount" : 13386.15,
-                    "blockCacheSize" : 4845696.0,
-                    "rootIndexSizeKB" : 0.0,
-                    "fsReadLatencyHistogram_std_dev" : 0.0,
-                    "fsReadLatencyHistogram_75th_percentile" : 0.0,
-                    "putRequestLatency_std_dev" : 0.0,
-                    "getRequestLatency_max" : 0.0,
-                    "getRequestLatency_std_dev" : 0.0,
-                    "putRequestLatency_95th_percentile" : 0.0,
-                    "blockCacheMissCount" : 0.0,
-                    "deleteRequestLatency_75th_percentile" : 0.0,
-                    "storefiles" : 0.0,
-                    "fsWriteLatencyHistogram_num_ops" : 0.0,
-                    "flushSize_num_ops" : 0.0,
-                    "putRequestLatency_99th_percentile" : 0.0,
-                    "fsWriteLatencyHistogram_99th_percentile" : 0.0,
-                    "stores" : 1.0,
-                    "fsReadLatencyHistogram_median" : 0.0
-                  }
-                },
-                "disk" : {
-                  "disk_total" : 0.0,
-                  "disk_free" : 0.0,
-                  "part_max_used" : 0.0
-                },
-                "cpu" : {
-                  "cpu_speed" : 2659.0,
-                  "cpu_num" : 0.0,
-                  "cpu_wio" : 0.675,
-                  "cpu_idle" : 92.6127778,
-                  "cpu_nice" : 0.0,
-                  "cpu_aidle" : 0.0,
-                  "cpu_system" : 1.85166667,
-                  "cpu_user" : 4.88055556
-                },
-                "jvm" : {
-                  "memHeapCommittedM" : 0.0,
-                  "logFatal" : 0.0,
-                  "threadsBlocked" : 0.0,
-                  "threadsWaiting" : 25.1083333,
-                  "gcCount" : 1.19304645E8,
-                  "logError" : 0.0,
-                  "logWarn" : 0.0,
-                  "memNonHeapCommittedM" : 42.1007488,
-                  "gcTimeMillis" : 1.19304642E8,
-                  "memNonHeapUsedM" : 0.0,
-                  "logInfo" : 1.19304647E8,
-                  "threadsNew" : 0.0,
-                  "memHeapUsedM" : 0.0,
-                  "threadsTerminated" : 0.0,
-                  "threadsTimedWaiting" : 11.2666667,
-                  "maxMemoryM" : 0.0,
-                  "threadsRunnable" : 0.0
-                },
-                "load" : {
-                  "load_fifteen" : 0.0,
-                  "load_one" : 0.0,
-                  "load_five" : 0.0
-                },
-                "memory" : {
-                  "mem_total" : 0.0,
-                  "swap_free" : 0.0,
-                  "mem_buffers" : 485391.389,
-                  "mem_shared" : 0.0,
-                  "mem_cached" : 2576214.31,
-                  "mem_free" : 543601.533,
-                  "swap_total" : 0.0
-                },
-                "network" : {
-                  "pkts_out" : 18.29375,
-                  "bytes_in" : 0.0,
-                  "bytes_out" : 1883.8725,
-                  "pkts_in" : 315.4695
-                }
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/clusters/vmc/services/HBASE/components/HBASE_REGIONSERVER",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "HBASE_REGIONSERVER",
-                    "service_name" : "HBASE"
-                  }
-                }
-              ]
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "OOZIE_CLIENT",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
             },
             {
-              "href" : "http://ambari/clusters/vmc/hosts/ip-10-72-35-220.ec2.internal/host_components/HBASE_REGIONSERVER",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/OOZIE_CLIENT",
               "HostRoles" : {
-                "cluster_name" : "vmc",
-                "role_id" : "34",
-                "state" : "STARTED",
-                "component_name" : "HBASE_REGIONSERVER",
-                "host_name" : "ip-10-72-35-220.ec2.internal"
-              },
-              "metrics" : {
-                "boottime" : 0.0,
-                "process" : {
-                  "proc_total" : 0.0,
-                  "proc_run" : 0.0
-                },
-                "rpc" : {
-                  "rpcAuthorizationSuccesses" : 0.0,
-                  "SentBytes" : 0.0,
-                  "rpcAuthorizationFailures" : 0.0,
-                  "ReceivedBytes" : 0.0,
-                  "NumOpenConnections" : 0.0,
-                  "callQueueLen" : 0.0,
-                  "rpcAuthenticationSuccesses" : 0.0,
-                  "RpcQueueTime_num_ops" : 0.0,
-                  "RpcProcessingTime_num_ops" : 0.0,
-                  "RpcProcessingTime_avg_time" : 0.0,
-                  "rpcAuthenticationFailures" : 0.0,
-                  "RpcQueueTime_avg_time" : 0.0
-                },
-                "ugi" : {
-                  "loginSuccess_num_ops" : 0.0,
-                  "loginFailure_num_ops" : 0.0,
-                  "loginSuccess_avg_time" : 0.0,
-                  "loginFailure_avg_time" : 0.0
-                },
-                "hbase" : {
-                  "regionserver" : {
-                    "compactionSize_avg_time" : 0.0,
-                    "deleteRequestLatency_min" : 0.0,
-                    "getRequestLatency_95th_percentile" : 0.0,
-                    "getRequestLatency_min" : 0.0,
-                    "fsReadLatencyHistogram_99th_percentile" : 0.0,
-                    "fsWriteLatencyHistogram_median" : 0.0,
-                    "getRequestLatency_num_ops" : 0.0,
-                    "hlogFileCount" : 0.0,
-                    "requests" : 0.0,
-                    "fsReadLatencyHistogram_num_ops" : 0.0,
-                    "hdfsBlocksLocalityIndex" : 0.0,
-                    "fsWriteLatencyHistogram_std_dev" : 0.0,
-                    "writeRequestsCount" : 0.0,
-                    "flushSize_avg_time" : 0.0,
-                    "fsWriteLatencyHistogram_max" : 0.0,
-                    "deleteRequestLatency_max" : 0.0,
-                    "deleteRequestLatency_std_dev" : 0.0,
-                    "getRequestLatency_75th_percentile" : 0.0,
-                    "fsSyncLatency_num_ops" : 0.0,
-                    "putRequestLatency_max" : 0.0,
-                    "getRequestLatency_mean" : 0.0,
-                    "fsWriteLatencyHistogram_95th_percentile" : 0.0,
-                    "fsSyncLatency_avg_time" : 0.0,
-                    "deleteRequestLatency_num_ops" : 0.0,
-                    "deleteRequestLatency_median" : 0.0,
-                    "compactionTime_num_ops" : 0.0,
-                    "compactionSize_num_ops" : 0.0,
-                    "deleteRequestLatency_mean" : 0.0,
-                    "putRequestLatency_num_ops" : 0.0,
-                    "blockCacheEvictedCount" : 0.0,
-                    "fsReadLatencyHistogram_mean" : 0.0,
-                    "storefileIndexSizeMB" : 0.0,
-                    "fsWriteLatencyHistogram_75th_percentile" : 0.0,
-                    "fsWriteLatency_avg_time" : 0.0,
-                    "fsReadLatencyHistogram_max" : 0.0,
-                    "compactionQueueSize" : 0.0,
-                    "fsWriteLatencyHistogram_min" : 0.0,
-                    "getRequestLatency_99th_percentile" : 0.0,
-                    "fsWriteLatencyHistogram_mean" : 0.0,
-                    "totalStaticBloomSizeKB" : 0.0,
-                    "deleteRequestLatency_99th_percentile" : 0.0,
-                    "putRequestLatency_75th_percentile" : 0.0,
-                    "totalStaticIndexSizeKB" : 0.0,
-                    "putRequestLatency_mean" : 0.0,
-                    "blockCacheFree" : 0.0,
-                    "fsReadLatency_avg_time" : 0.0,
-                    "deleteRequestLatency_95th_percentile" : 0.0,
-                    "fsWriteLatency_num_ops" : 0.0,
-                    "memstoreSizeMB" : 0.0,
-                    "blockCacheCount" : 0.0,
-                    "regions" : 0.0,
-                    "blockCacheHitRatio" : 0.0,
-                    "flushQueueSize" : 0.0,
-                    "fsReadLatencyHistogram_95th_percentile" : 0.0,
-                    "blockCacheHitCount" : 0.0,
-                    "blockCacheHitCachingRatio" : 0.0,
-                    "flushTime_avg_time" : 0.0,
-                    "putRequestLatency_min" : 0.0,
-                    "fsReadLatencyHistogram_min" : 0.0,
-                    "flushTime_num_ops" : 0.0,
-                    "putRequestLatency_median" : 0.0,
-                    "compactionTime_avg_time" : 0.0,
-                    "getRequestLatency_median" : 0.0,
-                    "fsReadLatency_num_ops" : 0.0,
-                    "readRequestsCount" : 0.0,
-                    "blockCacheSize" : 0.0,
-                    "rootIndexSizeKB" : 0.0,
-                    "fsReadLatencyHistogram_std_dev" : 0.0,
-                    "fsReadLatencyHistogram_75th_percentile" : 0.0,
-                    "putRequestLatency_std_dev" : 0.0,
-                    "getRequestLatency_max" : 0.0,
-                    "getRequestLatency_std_dev" : 0.0,
-                    "putRequestLatency_95th_percentile" : 0.0,
-                    "blockCacheMissCount" : 0.0,
-                    "deleteRequestLatency_75th_percentile" : 0.0,
-                    "storefiles" : 0.0,
-                    "fsWriteLatencyHistogram_num_ops" : 0.0,
-                    "flushSize_num_ops" : 0.0,
-                    "putRequestLatency_99th_percentile" : 0.0,
-                    "fsWriteLatencyHistogram_99th_percentile" : 0.0,
-                    "stores" : 0.0,
-                    "fsReadLatencyHistogram_median" : 0.0
-                  }
-                },
-                "disk" : {
-                  "disk_total" : 0.0,
-                  "disk_free" : 0.0,
-                  "part_max_used" : 0.0
-                },
-                "cpu" : {
-                  "cpu_speed" : 0.0,
-                  "cpu_num" : 2.0,
-                  "cpu_wio" : 0.0,
-                  "cpu_idle" : 0.0,
-                  "cpu_nice" : 0.0,
-                  "cpu_aidle" : 0.0,
-                  "cpu_system" : 0.0,
-                  "cpu_user" : 0.0
-                },
-                "jvm" : {
-                  "memHeapCommittedM" : 0.0,
-                  "logFatal" : 0.0,
-                  "threadsBlocked" : 0.0,
-                  "threadsWaiting" : 0.0,
-                  "gcCount" : 0.0,
-                  "logError" : 0.0,
-                  "logWarn" : 0.0,
-                  "memNonHeapCommittedM" : 0.0,
-                  "gcTimeMillis" : 0.0,
-                  "memNonHeapUsedM" : 0.0,
-                  "logInfo" : 0.0,
-                  "threadsNew" : 0.0,
-                  "memHeapUsedM" : 0.0,
-                  "threadsTerminated" : 0.0,
-                  "threadsTimedWaiting" : 7.86944444,
-                  "maxMemoryM" : 0.0,
-                  "threadsRunnable" : 12.0861111
-                },
-                "load" : {
-                  "load_fifteen" : 0.0,
-                  "load_one" : 0.0,
-                  "load_five" : 0.0
-                },
-                "memory" : {
-                  "mem_total" : 0.0,
-                  "swap_free" : 0.0,
-                  "mem_buffers" : 274835.867,
-                  "mem_shared" : 0.0,
-                  "mem_cached" : 0.0,
-                  "mem_free" : 0.0,
-                  "swap_total" : 0.0
-                },
-                "network" : {
-                  "pkts_out" : 0.0,
-                  "bytes_in" : 0.0,
-                  "bytes_out" : 0.0,
-                  "pkts_in" : 0.0
-                }
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/clusters/vmc/services/HBASE/components/HBASE_REGIONSERVER",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "HBASE_REGIONSERVER",
-                    "service_name" : "HBASE"
-                  }
-                }
-              ]
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "OOZIE_CLIENT",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
             },
             {
-              "href" : "http://ambari/clusters/vmc/hosts/hostname/host_components/HBASE_REGIONSERVER",
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/OOZIE_CLIENT",
               "HostRoles" : {
-                "cluster_name" : "vmc",
-                "role_id" : "35",
-                "state" : "STARTED",
-                "component_name" : "HBASE_REGIONSERVER",
-                "host_name" : "dev1.hortonworks.com"
-              },
-              "metrics" : {
-                "boottime" : 1.35085737E9,
-                "process" : {
-                  "proc_total" : 261.0,
-                  "proc_run" : 0.202777778
-                },
-                "rpc" : {
-                  "rpcAuthorizationSuccesses" : 0.0,
-                  "SentBytes" : 0.0,
-                  "rpcAuthorizationFailures" : 0.0,
-                  "ReceivedBytes" : 0.0,
-                  "NumOpenConnections" : 0.0,
-                  "callQueueLen" : 0.0,
-                  "rpcAuthenticationSuccesses" : 0.0,
-                  "RpcQueueTime_num_ops" : 0.0,
-                  "RpcProcessingTime_num_ops" : 0.0,
-                  "RpcProcessingTime_avg_time" : 0.0,
-                  "rpcAuthenticationFailures" : 0.0,
-                  "RpcQueueTime_avg_time" : 0.0
-                },
-                "ugi" : {
-                  "loginSuccess_num_ops" : 0.0,
-                  "loginFailure_num_ops" : 0.0,
-                  "loginSuccess_avg_time" : 0.0,
-                  "loginFailure_avg_time" : 0.0
-                },
-                "hbase" : {
-                  "regionserver" : {
-                    "compactionSize_avg_time" : 0.0,
-                    "deleteRequestLatency_min" : 0.0,
-                    "getRequestLatency_95th_percentile" : 1.112125E7,
-                    "getRequestLatency_min" : 294000.0,
-                    "fsReadLatencyHistogram_99th_percentile" : 1153000.0,
-                    "fsWriteLatencyHistogram_median" : 113000.0,
-                    "getRequestLatency_num_ops" : 28.0,
-                    "hlogFileCount" : 2.0,
-                    "requests" : 0.0,
-                    "fsReadLatencyHistogram_num_ops" : 1.0,
-                    "hdfsBlocksLocalityIndex" : 100.0,
-                    "fsWriteLatencyHistogram_std_dev" : 0.0,
-                    "writeRequestsCount" : 1.0,
-                    "flushSize_avg_time" : 0.0,
-                    "fsWriteLatencyHistogram_max" : 113000.0,
-                    "deleteRequestLatency_max" : 0.0,
-                    "deleteRequestLatency_std_dev" : 0.0,
-                    "getRequestLatency_75th_percentile" : 375500.0,
-                    "fsSyncLatency_num_ops" : 1996190.99,
-                    "putRequestLatency_max" : 0.0,
-                    "getRequestLatency_mean" : 1040142.9,
-                    "fsWriteLatencyHistogram_95th_percentile" : 113000.0,
-                    "fsSyncLatency_avg_time" : 0.0,
-                    "deleteRequestLatency_num_ops" : 0.0,
-                    "deleteRequestLatency_median" : 0.0,
-                    "compactionTime_num_ops" : 0.0,
-                    "compactionSize_num_ops" : 0.0,
-                    "deleteRequestLatency_mean" : 0.0,
-                    "putRequestLatency_num_ops" : 0.0,
-                    "blockCacheEvictedCount" : 0.0,
-                    "fsReadLatencyHistogram_mean" : 1153000.0,
-                    "storefileIndexSizeMB" : 0.0,
-                    "fsWriteLatencyHistogram_75th_percentile" : 0.0,
-                    "fsWriteLatency_avg_time" : 0.0,
-                    "fsReadLatencyHistogram_max" : 1153000.0,
-                    "compactionQueueSize" : 0.0,
-                    "fsWriteLatencyHistogram_min" : 113000.0,
-                    "getRequestLatency_99th_percentile" : 1.8661E7,
-                    "fsWriteLatencyHistogram_mean" : 113000.0,
-                    "totalStaticBloomSizeKB" : 0.0,
-                    "deleteRequestLatency_99th_percentile" : 0.0,
-                    "putRequestLatency_75th_percentile" : 0.0,
-                    "totalStaticIndexSizeKB" : 0.0,
-                    "putRequestLatency_mean" : 0.0,
-                    "blockCacheFree" : 5.85715E8,
-                    "fsReadLatency_avg_time" : 0.0,
-                    "deleteRequestLatency_95th_percentile" : 0.0,
-                    "fsWriteLatency_num_ops" : 4.0,
-                    "memstoreSizeMB" : 0.0,
-                    "blockCacheCount" : 1.0,
-                    "regions" : 1.0,
-                    "blockCacheHitRatio" : 97.0,
-                    "flushQueueSize" : 0.0,
-                    "fsReadLatencyHistogram_95th_percentile" : 1153000.0,
-                    "blockCacheHitCount" : 0.0,
-                    "blockCacheHitCachingRatio" : 97.0,
-                    "flushTime_avg_time" : 0.0,
-                    "putRequestLatency_min" : 0.0,
-                    "fsReadLatencyHistogram_min" : 1153000.0,
-                    "flushTime_num_ops" : 0.0,
-                    "putRequestLatency_median" : 0.0,
-                    "compactionTime_avg_time" : 0.0,
-                    "getRequestLatency_median" : 310500.0,
-                    "fsReadLatency_num_ops" : 1.0,
-                    "readRequestsCount" : 70.0,
-                    "blockCacheSize" : 4846280.0,
-                    "rootIndexSizeKB" : 0.0,
-                    "fsReadLatencyHistogram_std_dev" : 0.0,
-                    "fsReadLatencyHistogram_75th_percentile" : 1153000.0,
-                    "putRequestLatency_std_dev" : 0.0,
-                    "getRequestLatency_max" : 1.8661E7,
-                    "getRequestLatency_std_dev" : 3466455.8,
-                    "putRequestLatency_95th_percentile" : 0.0,
-                    "blockCacheMissCount" : 1.0,
-                    "deleteRequestLatency_75th_percentile" : 0.0,
-                    "storefiles" : 1.0,
-                    "fsWriteLatencyHistogram_num_ops" : 1.0,
-                    "flushSize_num_ops" : 0.0,
-                    "putRequestLatency_99th_percentile" : 0.0,
-                    "fsWriteLatencyHistogram_99th_percentile" : 0.0,
-                    "stores" : 1.0,
-                    "fsReadLatencyHistogram_median" : 1153000.0
-                  }
-                },
-                "disk" : {
-                  "disk_total" : 893.764,
-                  "disk_free" : 845.558,
-                  "part_max_used" : 42.9
-                },
-                "cpu" : {
-                  "cpu_speed" : 2000.0,
-                  "cpu_num" : 2.0,
-                  "cpu_wio" : 0.0,
-                  "cpu_idle" : 99.9469444,
-                  "cpu_nice" : 0.0,
-                  "cpu_aidle" : 0.0,
-                  "cpu_system" : 0.0244444444,
-                  "cpu_user" : 0.0
-                },
-                "jvm" : {
-                  "memHeapCommittedM" : 33.8524306,
-                  "logFatal" : 0.0,
-                  "threadsBlocked" : 0.0,
-                  "threadsWaiting" : 12.2638889,
-                  "gcCount" : 1.19304738E8,
-                  "logError" : 0.0,
-                  "logWarn" : 0.0,
-                  "memNonHeapCommittedM" : 35.3826389,
-                  "gcTimeMillis" : 1.19304747E8,
-                  "memNonHeapUsedM" : 0.0,
-                  "logInfo" : 1.2899815E8,
-                  "threadsNew" : 0.0,
-                  "memHeapUsedM" : 22.6797313,
-                  "threadsTerminated" : 0.0,
-                  "threadsTimedWaiting" : 7.54722222,
-                  "maxMemoryM" : 2252.8125,
-                  "threadsRunnable" : 0.0
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "OOZIE_CLIENT",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/OOZIE_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "OOZIE_CLIENT",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HCATALOG",
+      "ServiceInfo" : {
+        "cluster_name" : "cl1",
+        "service_name" : "HCATALOG"
+      },
+      "components" : [
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/HCATALOG/components/HCAT",
+          "ServiceComponentInfo" : {
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "INSTALLED",
+            "component_name" : "HCAT",
+            "service_name" : "HCATALOG"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/HCAT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HCAT",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/HCAT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HCAT",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/HCAT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HCAT",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/HCAT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HCAT",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/HCAT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "HCAT",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            }
+          ]
+        }
+      ]
+    },
+    {
+      "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/ZOOKEEPER",
+      "ServiceInfo" : {
+        "cluster_name" : "cl1",
+        "service_name" : "ZOOKEEPER"
+      },
+      "components" : [
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/ZOOKEEPER/components/ZOOKEEPER_SERVER",
+          "ServiceComponentInfo" : {
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "STARTED",
+            "component_name" : "ZOOKEEPER_SERVER",
+            "service_name" : "ZOOKEEPER"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/ZOOKEEPER_SERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1"
                 },
-                "load" : {
-                  "load_fifteen" : 0.0,
-                  "load_one" : 0.00416666667,
-                  "load_five" : 0.00908333333
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "ZOOKEEPER_SERVER",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/ZOOKEEPER_SERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1"
                 },
-                "memory" : {
-                  "mem_total" : 7864320.0,
-                  "swap_free" : 0.0,
-                  "mem_buffers" : 260466.489,
-                  "mem_shared" : 0.0,
-                  "mem_cached" : 1054178.51,
-                  "mem_free" : 5277641.9,
-                  "swap_total" : 0.0
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "ZOOKEEPER_SERVER",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/ZOOKEEPER_SERVER",
+              "HostRoles" : {
+                "configs" : {
+                  "global" : "version1"
                 },
-                "network" : {
-                  "pkts_out" : 85.3823333,
-                  "bytes_in" : 263.160583,
-                  "bytes_out" : 16061.1182,
-                  "pkts_in" : 2.33475
-                }
-              },
-              "component" : [
-                {
-                  "href" : "http://ambari/clusters/vmc/services/HBASE/components/HBASE_REGIONSERVER",
-                  "ServiceComponentInfo" : {
-                    "cluster_name" : "vmc",
-                    "component_name" : "HBASE_REGIONSERVER",
-                    "service_name" : "HBASE"
-                  }
-                }
-              ]
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "STARTED",
+                "state" : "STARTED",
+                "component_name" : "ZOOKEEPER_SERVER",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            }
+          ]
+        },
+        {
+          "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/services/ZOOKEEPER/components/ZOOKEEPER_CLIENT",
+          "ServiceComponentInfo" : {
+            "cluster_name" : "cl1",
+            "desired_configs" : { },
+            "state" : "INSTALLED",
+            "component_name" : "ZOOKEEPER_CLIENT",
+            "service_name" : "ZOOKEEPER"
+          },
+          "host_components" : [
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-16-48-4B.compute-1.internal/host_components/ZOOKEEPER_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "ZOOKEEPER_CLIENT",
+                "host_name" : "domU-12-31-39-16-48-4B.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-191-202-42.ec2.internal/host_components/ZOOKEEPER_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "ZOOKEEPER_CLIENT",
+                "host_name" : "ip-10-191-202-42.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/domU-12-31-39-0E-E6-01.compute-1.internal/host_components/ZOOKEEPER_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "ZOOKEEPER_CLIENT",
+                "host_name" : "domU-12-31-39-0E-E6-01.compute-1.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-38-164.ec2.internal/host_components/ZOOKEEPER_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "ZOOKEEPER_CLIENT",
+                "host_name" : "ip-10-110-38-164.ec2.internal"
+              }
+            },
+            {
+              "href" : "http://ec2-184-73-46-113.compute-1.amazonaws.com:8080/api/v1/clusters/cl1/hosts/ip-10-110-79-42.ec2.internal/host_components/ZOOKEEPER_CLIENT",
+              "HostRoles" : {
+                "configs" : { },
+                "cluster_name" : "cl1",
+                "desired_configs" : { },
+                "desired_state" : "INSTALLED",
+                "state" : "INSTALLED",
+                "component_name" : "ZOOKEEPER_CLIENT",
+                "host_name" : "ip-10-110-79-42.ec2.internal"
+              }
             }
           ]
         }

File diff suppressed because it is too large
+ 102 - 1426
ambari-web/app/assets/data/hosts/hosts.json


Some files were not shown because too many files changed in this diff