maprcli dump cldbnodes command lists the nodes that contain container location database (CLDB) data. For best results, use the
-json option when running
dump cldbnodes from the command line.
The CLDB is a service running on one or more MapR nodes that maintains the location of cluster containers, services, and other information. The CLDB automatically replicates its data to other nodes in the cluster, preserving at least two (and generally three) copies of the CLDB data. If the CLDB process dies, it is automatically restarted on the node.
maprcli dump cldbnodes [-cluster <cluster name>] -zkconnect <ZooKeeper Connect String> -json | -long
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.
A ZooKeeper connect string, which specifies a list of the hosts running ZooKeeper, and the port to use on each, in the format: '<host>[:<port>][,<host>[:<port>]...]'. To obtain zookeeper connection strings, use the
|This command returns multiple levels of data. You need to specify either JSON format or "long" format to see the full output.|
maprcli dump cldbnodes command returns the IP address and port number of the CLDB nodes on the cluster.
maprcli dump cldbnodes -zkconnect centos23.lab:5181 -json