123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353 |
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/components/?ServiceComponentInfo/category=MASTER&fields=ServiceComponentInfo/MasterActiveTime,host_components/metrics/jvm/memHeapUsedM,host_components/metrics/jvm/memHeapCommittedM,host_components/metrics/mapred/jobtracker/trackers_decommissioned,host_components/metrics/cpu/cpu_wio,host_components/metrics/rpc/RpcQueueTime_avg_time,host_components/metrics/dfs/FSNamesystem/HAState,host_components/metrics/dfs/FSNamesystem/CapacityUsed,host_components/metrics/dfs/FSNamesystem/CapacityTotal,host_components/metrics/dfs/FSNamesystem/CapacityRemaining,host_components/metrics/dfs/FSNamesystem/BlocksTotal,host_components/metrics/dfs/FSNamesystem/CorruptBlocks,host_components/metrics/dfs/FSNamesystem/MissingBlocks,host_components/metrics/dfs/FSNamesystem/UnderReplicatedBlocks,host_components/metrics/dfs/namenode/Version,host_components/metrics/dfs/namenode/LiveNodes,host_components/metrics/dfs/namenode/DeadNodes,host_components/metrics/dfs/namenode/DecomNodes,host_components/metrics/dfs/namenode/TotalFiles,host_components/metrics/dfs/namenode/UpgradeFinalized,host_components/metrics/dfs/namenode/Safemode,host_components/metrics/runtime/StartTime,host_components/metrics/flume/flume,host_components/metrics/yarn/Queue,host_components/metrics/hbase/master/IsActiveMaster,host_components/HostRoles/state",
- "items" : [
- {
- "ServiceComponentInfo" : {
- "component_name" : "FLUME_HANDLER",
- "service_name" : "FLUME"
- },
- "host_components" : [
- {
- "HostRoles" : {
- "component_name" : "FLUME_HANDLER",
- "host_name" : "dev01.hortonworks.com",
- "maintenance_state" : "OFF",
- "stale_configs" : false,
- "state" : "STARTED"
- },
- "metrics" : {
- "cpu" : {
- "cpu_wio" : 0.0347222222222
- },
- "flume" : {
- "flume" : {
- "CHANNEL" : {
- "c1" : {
- "ChannelCapacity" : 10000.0,
- "ChannelFillPercentage" : 0.0,
- "ChannelSize" : 0.0,
- "EventPutAttemptCount" : 0.0,
- "EventPutSuccessCount" : 0.0,
- "EventTakeAttemptCount" : 21.0434782609,
- "EventTakeSuccessCount" : 0.0,
- "StartTime" : 1.39817772503E12,
- "StopTime" : 0.0
- }
- },
- "SINK" : {
- "sink1" : {
- "BatchCompleteCount" : 0.0,
- "BatchEmptyCount" : 20.5594202899,
- "BatchUnderflowCount" : 0.0,
- "ConnectionClosedCount" : 0.0,
- "ConnectionCreatedCount" : 0.0,
- "ConnectionFailedCount" : 0.0,
- "EventDrainAttemptCount" : 0.0,
- "EventDrainSuccessCount" : 0.0,
- "StartTime" : 1.39817772504E12,
- "StopTime" : 0.0
- }
- },
- "SOURCE" : {
- "src1" : {
- "AppendAcceptedCount" : 0.0,
- "AppendBatchAcceptedCount" : 0.0,
- "AppendBatchReceivedCount" : 0.0,
- "AppendReceivedCount" : 0.0,
- "EventAcceptedCount" : 0.0,
- "EventReceivedCount" : 0.0,
- "OpenConnectionCount" : 0.0,
- "StartTime" : 1.39817772519E12,
- "StopTime" : 0.0
- }
- }
- }
- }
- },
- "processes" : [
- {
- "HostComponentProcess" : {
- "channels_count" : 1.0,
- "cluster_name" : "mycluster",
- "component_name" : "FLUME_HANDLER",
- "host_name" : "dev01.hortonworks.com",
- "name" : "agent",
- "sinks_count" : 1.0,
- "sources_count" : 1.0,
- "status" : "RUNNING"
- }
- }
- ]
- }
- ]
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/components/HBASE_MASTER",
- "ServiceComponentInfo" : {
- "category" : "MASTER",
- "cluster_name" : "perf",
- "component_name" : "HBASE_MASTER",
- "service_name" : "HBASE"
- },
- "host_components" : [
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/hosts/dev01.hortonworks.com/host_components/HBASE_MASTER",
- "HostRoles" : {
- "cluster_name" : "perf",
- "component_name" : "HBASE_MASTER",
- "host_name" : "dev01.hortonworks.com",
- "maintenance_state" : "OFF",
- "state" : "STARTED"
- },
- "metrics" : {
- "cpu" : {
- "cpu_wio" : 1.68305555556
- },
- "hbase" : {
- "master" : {
- "IsActiveMaster" : "true"
- }
- },
- "jvm" : {
- "memHeapCommittedM" : 81.0625,
- "memHeapUsedM" : 14.4296904856
- }
- }
- }
- ]
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/components/NAMENODE",
- "ServiceComponentInfo" : {
- "category" : "MASTER",
- "cluster_name" : "perf",
- "component_name" : "NAMENODE",
- "service_name" : "HDFS"
- },
- "host_components" : [
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/hosts/dev01.hortonworks.com/host_components/NAMENODE",
- "HostRoles" : {
- "cluster_name" : "perf",
- "component_name" : "NAMENODE",
- "host_name" : "dev01.hortonworks.com",
- "maintenance_state" : "OFF",
- "state" : "STARTED"
- },
- "metrics" : {
- "cpu" : {
- "cpu_wio" : 1.15722222222
- },
- "dfs" : {
- "FSNamesystem" : {
- "BlocksTotal" : 461,
- "CapacityRemaining" : 47220695040,
- "CapacityTotal" : 51770945536,
- "CapacityUsed" : 193253376,
- "CorruptBlocks" : 0,
- "HAState" : "active",
- "MissingBlocks" : 0,
- "UnderReplicatedBlocks" : 461
- },
- "namenode" : {
- "DeadNodes" : "{\"dev01.hortonworks.com\":{\"lastContact\":692,\"decommissioned\":false}}",
- "DecomNodes" : "{}",
- "LiveNodes" : "{\"dev02.hortonworks.com\":{\"numBlocks\":461,\"usedSpace\":193253376,\"lastContact\":1,\"capacity\":51770945536,\"nonDfsUsedSpace\":4356997120,\"adminState\":\"In Service\",\"version\":\"2.2.0.2.0.6.0-76\"}}",
- "Safemode" : "",
- "TotalFiles" : 606,
- "UpgradeFinalized" : true,
- "Version" : "2.2.0.2.0.6.0-76, r8656b1cfad13b03b29e98cad042626205e7a1c86"
- }
- },
- "jvm" : {
- "memHeapCommittedM" : 960.0,
- "memHeapUsedM" : 106.43069
- },
- "rpc" : {
- "RpcQueueTime_avg_time" : 0.0
- },
- "runtime" : {
- "StartTime" : 1383649085429
- }
- }
- }
- ]
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/components/SECONDARY_NAMENODE",
- "ServiceComponentInfo" : {
- "category" : "MASTER",
- "cluster_name" : "perf",
- "component_name" : "SECONDARY_NAMENODE",
- "service_name" : "HDFS"
- },
- "host_components" : [
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/hosts/dev01.hortonworks.com/host_components/SECONDARY_NAMENODE",
- "HostRoles" : {
- "cluster_name" : "perf",
- "component_name" : "SECONDARY_NAMENODE",
- "host_name" : "dev01.hortonworks.com",
- "maintenance_state" : "OFF",
- "state" : "STARTED"
- }
- }
- ]
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/components/HISTORYSERVER",
- "ServiceComponentInfo" : {
- "category" : "MASTER",
- "cluster_name" : "perf",
- "component_name" : "HISTORYSERVER",
- "service_name" : "MAPREDUCE2"
- },
- "host_components" : [
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/hosts/dev01.hortonworks.com/host_components/HISTORYSERVER",
- "HostRoles" : {
- "cluster_name" : "perf",
- "component_name" : "HISTORYSERVER",
- "host_name" : "dev01.hortonworks.com",
- "maintenance_state" : "OFF",
- "state" : "STARTED"
- },
- "metrics" : {
- "jvm" : {
- "memHeapCommittedM" : 60.0,
- "memHeapUsedM" : 20.311676
- }
- }
- }
- ]
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/components/OOZIE_SERVER",
- "ServiceComponentInfo" : {
- "category" : "MASTER",
- "cluster_name" : "perf",
- "component_name" : "OOZIE_SERVER",
- "service_name" : "OOZIE"
- },
- "host_components" : [
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/hosts/dev01.hortonworks.com/host_components/OOZIE_SERVER",
- "HostRoles" : {
- "cluster_name" : "perf",
- "component_name" : "OOZIE_SERVER",
- "host_name" : "dev01.hortonworks.com",
- "maintenance_state" : "OFF",
- "state" : "STARTED"
- }
- }
- ]
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/components/RESOURCEMANAGER",
- "ServiceComponentInfo" : {
- "category" : "MASTER",
- "cluster_name" : "perf",
- "component_name" : "RESOURCEMANAGER",
- "service_name" : "YARN"
- },
- "host_components" : [
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/hosts/dev01.hortonworks.com/host_components/RESOURCEMANAGER",
- "HostRoles" : {
- "cluster_name" : "perf",
- "component_name" : "RESOURCEMANAGER",
- "host_name" : "dev01.hortonworks.com",
- "maintenance_state" : "OFF",
- "state" : "STARTED"
- },
- "metrics" : {
- "cpu" : {
- "cpu_wio" : 1.21833333333
- },
- "jvm" : {
- "memHeapCommittedM" : 60.0625,
- "memHeapUsedM" : 30.569305
- },
- "yarn" : {
- "Queue" : {
- "root" : {
- "ActiveApplications" : 0,
- "ActiveUsers" : 0,
- "AggregateContainersAllocated" : 13,
- "AggregateContainersReleased" : 13,
- "AllocatedContainers" : 0,
- "AllocatedMB" : 0,
- "AllocatedVCores" : 0,
- "AppsCompleted" : 5,
- "AppsFailed" : 0,
- "AppsKilled" : 0,
- "AppsPending" : 0,
- "AppsRunning" : 0,
- "AppsSubmitted" : 5,
- "AvailableMB" : 4096,
- "AvailableVCores" : 16,
- "PendingContainers" : 0,
- "PendingMB" : 0,
- "PendingVCores" : 0,
- "ReservedContainers" : 0,
- "ReservedMB" : 0,
- "ReservedVCores" : 0,
- "running_1440" : 0,
- "running_300" : 0,
- "running_60" : 0,
- "default" : {
- "ActiveApplications" : 0,
- "ActiveUsers" : 0,
- "AggregateContainersAllocated" : 13,
- "AggregateContainersReleased" : 13,
- "AllocatedContainers" : 0,
- "AllocatedMB" : 0,
- "AllocatedVCores" : 0,
- "AppsCompleted" : 5,
- "AppsFailed" : 0,
- "AppsKilled" : 0,
- "AppsPending" : 0,
- "AppsRunning" : 0,
- "AppsSubmitted" : 5,
- "AvailableMB" : 4096,
- "AvailableVCores" : 16,
- "PendingContainers" : 0,
- "PendingMB" : 0,
- "PendingVCores" : 0,
- "ReservedContainers" : 0,
- "ReservedMB" : 0,
- "ReservedVCores" : 0,
- "running_1440" : 0,
- "running_300" : 0,
- "running_60" : 0
- }
- }
- }
- }
- }
- }
- ]
- },
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/components/ZOOKEEPER_SERVER",
- "ServiceComponentInfo" : {
- "category" : "MASTER",
- "cluster_name" : "perf",
- "component_name" : "ZOOKEEPER_SERVER",
- "service_name" : "ZOOKEEPER"
- },
- "host_components" : [
- {
- "href" : "http://192.168.56.101:8080/api/v1/clusters/perf/hosts/dev01.hortonworks.com/host_components/ZOOKEEPER_SERVER",
- "HostRoles" : {
- "cluster_name" : "perf",
- "component_name" : "ZOOKEEPER_SERVER",
- "host_name" : "dev01.hortonworks.com",
- "maintenance_state" : "OFF",
- "state" : "STARTED"
- }
- }
- ]
- }
- ]
- }
|