MapR 5.0 Documentation : dump volumenodes

The maprcli dump volumenodes command enables you to view information about the nodes on a volume. For best results, use the -json option when running dump volumenodes from the command line.

Syntax

CLI
maprcli dump volumenodes
    [-cluster <cluster name>]
    -volumename <volume name>
RESTN/A

Parameters


Parameter

Description

cluster <cluster name>

The cluster on which to run the command. If this parameter is omitted, the command is run on the same cluster where it is issued. In multi-cluster contexts, you can use this parameter to specify a different cluster on which to run the command.

volumename <volume name>

The name of the volume. To obtain volume names, use the maprcli volume list command.

Output

The maprcli dump volumenodes command returns the IP address and port number of volume nodes.

# maprcli dump volumenodes -volumename mapr.hbase -json
{
    "timestamp":1433372931725,
    "timeofday":"2015-06-03 11:08:51.725 GMT+0000",
    "status":"OK",
    "total":1,
    "data":[
        {
            "Servers":{
                "IP:Port":[
                    "10.10.82.23:5660--3-VALID",
                    "10.10.82.28:5660--3-VALID",
                    "10.10.82.29:5660--3-VALID"
                ]
            }
        }
    ]
}                

Output fields

Field

Description

IP:Port

The IP address and MapR-FS port.

Example

CLI
maprcli dump volumenodes -volumename mapr.hbase -json