/clusters/{clusterName}/services/{serviceName}/roleCommands/hdfsInitializeAutoFailover
Mount Point: /api/v1/clusters/{clusterName}/services/{serviceName}/roleCommands/hdfsInitializeAutoFailover
POST
Initialize HDFS HA failover controller metadata.
The controllers being initialized must already exist and be properly configured. The command will make sure the needed data is initialized for the controller to work.
Only one controller per nameservice needs 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 controllers to initialize.
Response Body
| element: | bulkCommandList |
A list of submitted commands.