/clusters/{clusterName}/services/{serviceName}/roleCommands/zooKeeperInit

Mount Point: /api/v1/clusters/{clusterName}/services/{serviceName}/roleCommands/zooKeeperInit

POST

Initialize a list of ZooKeeper server roles.

This applies to ZooKeeper services from CDH4. Before ZooKeeper server roles can be used, they need to be initialized.

Parameters

name description type default
clusterName The name of the cluster. path
serviceName The name of the service. path

Request Body

element: roleNames

The names of the roles.

Response Body

element: bulkCommandList

A list of submitted commands.