node listcldbzks

Returns the hostnames of the nodes in the cluster that are running the CLDB service and the IP addresses and port numbers for the nodes in the cluster that are running the ZooKeeper service.

Syntax

CLI
maprcli node listcldbzks
    [ -cluster <cluster name> ]
    [ -cldb  <cldb hostname|ip:port> ]
REST
http[s]://<host>:<port>/rest/node/listcldbzks?<parameters> 

Parameters

Parameter

Description

cluster

The name of the cluster for which to return the CLDB and ZooKeeper information.

cldb

The hostname or IP address and port number of a CLDB node.

Examples

Return CLDB and ZooKeeper node information for the cluster my.cluster.com:

CLI
maprcli node listcldbzks -cluster my.cluster.com
REST
https://r1n1.sj.us:8443/rest/node/listcldbzks?cluster=my.cluster.com