dashboard info
Displays a summary of information about the cluster.
Syntax
- CLI
-
maprcli dashboard info [ -cluster <cluster> ] [ -multi_cluster_info <true|false>] [ -version <true|false> ] [ -zkconnect <ZooKeeper connect string> ]
NOTE: For best results, use the-json
option. - REST
-
http[s]://<host>:<port>/rest/dashboard/info?<parameters>
Parameters
Parameter |
Description |
---|---|
cluster |
The cluster on which to run the command. |
multi_cluster_info |
Specifies whether to display cluster information from multiple clusters. Values: true/false. Default: false |
version |
Specifies whether to display the version. Values: true/false. Default: false |
zkconnect |
Output
A summary of information about the services, volumes, mapreduce jobs, 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 MapR software version running on the cluster. |
cluster |
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:
|
services |
The number of active, stopped, failed, and total installed services on the cluster, for example:
|
mapreduce |
The following mapreduce information:
|
maintenance |
The following information about system health:
|
Sample Output
# maprcli dashboard info -json
{
"timestamp":1440744545985,
"timeofday":"2015-08-27 11:49:05.985 GMT-0700",
"status":"OK",
"total":1,
"data":[
{
"version":"4.14.14.34092.GA",
"cluster":{
"name":"my.cluster.com",
"secure":false,
"ip":"10.10.30.200",
"id":"8925630648055792748",
"nodesUsed":1,
"totalNodesAllowed":-1
},
"volumes":{
"mounted":{
"total":11,
"size":1650
},
"unmounted":{
"total":1,
"size":1
}
},
"utilization":{
"cpu":{
"util":5,
"total":16,
"active":0
},
"memory":{
"total":24103,
"active":19882
},
"disk_space":{
"total":16086,
"active":4
},
"compression":{
"compressed":1,
"uncompressed":11
}
},
"clusterReplication":{
"bytesReceived":0,
"bytesSend":0
},
"streamThroughput":{
"bytesProduced":12493091880,
"bytesConsumed":97564851840
},
"services":{
"fileserver":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"gateway":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"cldb":{
"active":1,
"stopped":0,
"failed":0,
"total":1
},
"hoststats":{
"active":1,
"stopped":0,
"failed":0,
"total":1
}
}
}
]
}
Examples
Display dashboard information:
- CLI
-
maprcli dashboard info -json
- REST
-
https://10.10.30.200:8443/rest/dashboard/info