dump volumenodes

Returns information about the nodes on a volume.

Syntax

CLI
maprcli dump volumenodes
    [-cluster <cluster name>]
    -volumename <volume name>
NOTE For best results, use the -json option from the command line.
REST
N/A

Parameters

Parameter

Description

cluster

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

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 File System port.

Example

CLI
maprcli dump volumenodes -volumename mapr.hbase -json