Displays a summary of information about the cluster. For best results, use the -json option when running dashboard info from the command line.


Syntax

CLI

maprcli dashboard info
    [ -cluster <cluster> ]
    [ -multi_cluster_info true|false. default: false ]
    [ -version true|false. default: false ]
    [ -zkconnect <ZooKeeper connect string> ] 

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.

version

Specifies whether to display the version.

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.

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
  • ip — the IP address of the active CLDB
  • id — the cluster ID

services

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

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

volumes

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

  • Mounted
  • Unmounted

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

utilization

The following utilization information:

  • CPU:
  • Memory
  • Disk space
  • compression


Sample Output

# maprcli dashboard info -json
{
    "timestamp":1432851775195,
    "timeofday":"2015-05-28 10:22:55.195 GMT+0000",
    "status":"OK",
    "total":1,
    "data":[
        {
            "version":"4.1.0.31175.GA",
            "cluster":{
                "name":"docs41cluster",
                "secure":false,
                "ip":"10.10.82.23",
                "id":"5119043355327235351",
                "nodesUsed":4,
                "totalNodesAllowed":-1
            },
            "volumes":{
                "mounted":{
                    "total":21,
                    "size":179
                },
                "unmounted":{
                    "total":2,
                    "size":1
                }
            },
            "utilization":{
                "cpu":{
                    "util":26,
                    "total":3,
                    "active":1
                },
                "memory":{
                    "total":23619,
                    "active":11993
                },
                "disk_space":{
                    "total":207,
                    "active":1
                },
                "compression":{
                    "compressed":0,
                    "uncompressed":0
                }
            },
            "clusterReplication":{
                "bytesReceived":0,
                "bytesSend":0
            },
            "services":{
                "fileserver":{
                    "active":4,
                    "stopped":0,
                    "failed":0,
                    "total":4
                },
                "drill-bits":{
                    "active":1,
                    "stopped":0,
                    "failed":0,
                    "total":1
                },
                "resourcemanager":{
                    "active":0,
                    "stopped":0,
                    "failed":0,
                    "total":0
                },
                "webserver":{
                    "active":2,
                    "stopped":0,
                    "failed":0,
                    "total":2
                },
                "cldb":{
                    "active":2,
                    "stopped":0,
                    "failed":2,
                    "total":4
                },
                "nodemanager":{
                    "active":0,
                    "stopped":0,
                    "failed":0,
                    "total":0
                },
                "tasktracker":{
                    "active":2,
                    "stopped":0,
                    "failed":0,
                    "total":2
                },
                "historyserver":{
                    "active":0,
                    "stopped":0,
                    "failed":0,
                    "total":0
                },
                "jobtracker":{
                    "active":1,
                    "standby":2,
                    "stopped":0,
                    "failed":0,
                    "total":3
                },
                "hoststats":{
                    "active":4,
                    "stopped":0,
                    "failed":0,
                    "total":4
                }
            },
            "mapreduce":{
                "running_jobs":0,
                "queued_jobs":0,
                "running_tasks":0,
                "running_map_tasks":0,
                "running_reduce_tasks":0,
                "map_task_capacity":2,
                "reduce_task_capacity":2,
                "map_task_prefetch_capacity":0,
                "blacklisted":0
            }
        }
    ]
}

Examples

Display dashboard information:

CLI

maprcli dashboard info -json

REST

https://r1n1.sj.us:8443/rest/dashboard/info