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

ZooKeeper Connect String

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 dashboard info data was retrieved, expressed as a Unix epoch time.

timeofday The local time and date of the query.

status

The success status of the dashboard info command.

total

The number of clusters for which data was queried in the dashboard info command.

version

The MapR software version running on the cluster.

cluster

The following information about the cluster:

  • name — the cluster name
  • Secure — where the cluster is secure or not. Value: false or true
  • ip — the IP address of the active CLDB
  • id — the cluster ID
  • nodesUsed — number of nodes in the cluster
  • totalNodesAllowed — number of allowed nodes

volumes

The number and size (in GB) of volumes that are:

  • Mounted
  • Unmounted

utilization

The following utilization information:

  • CPU — utilization, total, and active. CPU utilization % is calculated as (100% - idle%) on each node and then averaged across all nodes where hoststats is running.
  • Memory — total and active in mB.
  • Disk space — total and active in GB.
  • Compression — compressed and uncompressed data size
clusterReplication

The following cluster replication information:

  • bytesReceived
  • bytesSend
streamThroughput

The following stream throughput information:

  • bytesProduced
  • bytesConsumed

services

The number of active, stopped, failed, and total installed services on the cluster, for example:

  • CLDB
  • File server
  • Job tracker
  • Task tracker
  • HB master
  • HB region server

mapreduce

The following mapreduce information:

  • Queue time
  • Running jobs
  • Queued jobs
  • Running tasks
  • Blacklisted jobs

maintenance

The following information about system health:

  • Failed disk nodes
  • Cluster alarms
  • Node alarms
  • Versions

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