Displays a summary of information about the cluster.
/opt/mapr/bin/maprcli dashboard info
[ -cluster <cluster name> ]
[ -multi_cluster_info true|false]
[ -version true|false ]
[ -zkconnect <ZooKeeper connect string> ]
-json
-json option is required.| Request Type | GET |
| Request URL |
|
|
Parameter |
Description |
|---|---|
cluster |
The cluster on which to run the command. By default, the cluster is the local cluster. |
multi_cluster_info |
Specifies whether to display cluster information from multiple clusters.
Values: |
version |
Specifies whether to display the version. Values: true
or false. Default: false. |
zkconnect |
Common Parameters |
json |
Formats the output. |
A summary of information about the services, volumes, MapReduce applications, health, and utilization of the cluster.
Output Fields|
Field |
Description |
|---|---|
|
timestamp |
The time at which the |
| timeofday | The local time and date of the query. |
|
status |
The success status of the |
|
total |
The number of clusters for which data was queried in the
|
|
version |
The data-fabric software version running on the cluster. |
|
cluster |
Determines the following information about the cluster:
|
|
volumes |
The number and size (in GB) of volumes that are:
|
|
utilization |
The following utilization information:
|
| clusterReplication |
The following cluster replication information:
|
| streamThroughput |
The following stream throughput information:
|
| label_stats | Information about the labels registered and assigned. |
|
services |
The number of active, stopped, failed, and total installed services on the cluster, for example:
|
|
yarn |
The following mapreduce information:
|
Display dashboard information:
# maprcli dashboard info -json
{
"timestamp":1599138960056,
"timeofday":"2020-09-03 06:16:00.056 GMT-0700 AM",
"status":"OK",
"total":1,
"data":[
{
"version":"6.2.0.0.20200823204949.GA",
"cluster":{
"name":"my.cluster.com",
"secure":true,
"dare":false,
"globalPolicyMaster":true,
"ip":"10.163.167.212",
"id":"2812007637544940359",
"nodesUsed":1,
"totalNodesAllowed":-1
},
"volumes":{
"mounted":{
"total":17,
"size":6605
},
"unmounted":{
"total":2,
"size":1
}
},
"mirrors":{
"num jobs":0,
"active containers":0,
"resync containers":0,
"mirrored datasize mb":0,
"remaining datasize mb":0,
"completion pcnt":0
},
"utilization":{
"cpu":{
"util":21,
"total":8,
"active":1
},
"memory":{
"total":23911,
"active":23075
},
"disk_space":{
"total":287,
"active":6
},
"compression":{
"compressed":6,
"uncompressed":6
},
"tiering":{
"logicalUsed":0,
"replicatedLogicalUsed":0,
"replicatedTotalUsed":0,
"metaDBUsedMB":0,
"replicatedMetaDBUsedMB":0,
"offloaded":0,
"recalled":0,
"cvTotalUsed":0,
"replicatedCvTotalUsed":0,
"ecOffloaded":0,
"ecRecalled":0,
"ecTotalUsed":0
}
},
"clusterReplication":{
"bytesReceived":0,
"bytesSend":0
},
"streamThroughput":{
"bytesProduced":46746456005,
"bytesConsumed":46748653475
},
"labels_stats":[
{
"label":"ssd",
"label_id":0,
"total_size":294465,
"used":7045,
"num_sps":1,
"num_volumes":19
},
{
"label":"anywhere",
"label_id":2147483647,
"total_size":0,
"used":0,
"num_sps":0,
"num_volumes":0
}
],
"services":{
"hbaserest":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"hbasethrift":{
"active":1,
"standby":0,
"stopped":0,
"failed":0,
"total":1
},
"fileserver":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"grafana":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"cldb":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"mastgateway":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"opentsdb":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"gateway":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"hoststats":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"collectd":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"apiserver":{
"active":1,
"stopped":0,
"failed":0,
"total":1
}
}
}
]
}
curl -u mapr:mapr -X GET -k "https://host:8443/rest/dashboard/info"
{"timestamp":1599139171576,"timeofday":"2020-09-03 06:19:31.576 GMT-0700 AM","status":"OK","total":1,"data":[{"version":"6.2.0.0.20200823204949.GA","cluster":{"name":"my.cluster.com","secure":true,"dare":false,"globalPolicyMaster":true,"ip":"10.163.167.212","id":"2812007637544940359","nodesUsed":1,"totalNodesAllowed":-1},"volumes":{"mounted":{"total":17,"size":6659},"unmounted":{"total":2,"size":1}},"mirrors":{"num jobs":0,"active containers":0,"resync containers":0,"mirrored datasize mb":0,"remaining datasize mb":0,"completion pcnt":0},"utilization":{"cpu":{"util":30,"total":8,"active":2},"memory":{"total":23911,"active":23166},"disk_space":{"total":287,"active":6},"compression":{"compressed":6,"uncompressed":6},"tiering":{"logicalUsed":0,"replicatedLogicalUsed":0,"replicatedTotalUsed":0,"metaDBUsedMB":0,"replicatedMetaDBUsedMB":0,"offloaded":0,"recalled":0,"cvTotalUsed":0,"replicatedCvTotalUsed":0,"ecOffloaded":0,"ecRecalled":0,"ecTotalUsed":0}},"clusterReplication":{"bytesReceived":0,"bytesSend":0},"streamThroughput":{"bytesProduced":46802771481,"bytesConsumed":46804959666},"labels_stats":[{"label":"ssd","label_id":0,"total_size":294465,"used":7098,"num_sps":1,"num_volumes":19},{"label":"anywhere","label_id":2147483647,"total_size":0,"used":0,"num_sps":0,"num_volumes":0}],"services":{"hbaserest":{"active":1,"stopped":0,"failed":0,"total":1},"hbasethrift":{"active":1,"standby":0,"stopped":0,"failed":0,"total":1},"fileserver":{"active":1,"stopped":0,"failed":0,"total":1},"grafana":{"active":1,"stopped":0,"failed":0,"total":1},"cldb":{"active":1,"stopped":0,"failed":0,"total":1},"mastgateway":{"active":1,"stopped":0,"failed":0,"total":1},"opentsdb":{"active":1,"stopped":0,"failed":0,"total":1},"gateway":{"active":1,"stopped":0,"failed":0,"total":1},"hoststats":{"active":1,"stopped":0,"failed":0,"total":1},"collectd":{"active":1,"stopped":0,"failed":0,"total":1},"apiserver":{"active":1,"stopped":0,"failed":0,"total":1}}}]}
View the master security policy cluster:
/opt/mapr/bin/maprcli dashboard info -json | grep globalPolicyMaster
{
"globalPolicyMaster":true
}