/clusters/{clusterName}/services/{serviceName}/commands/hdfsDisableNnHa

Mount Point: /api/v7/clusters/{clusterName}/services/{serviceName}/commands/hdfsDisableNnHa

POST

Disable High Availability (HA) with Automatic Failover for an HDFS NameNode.

As part of disabling HA, any services that depend on the HDFS service being modified will be stopped. The command will delete the Standby NameNode associated with the specified NameNode. Any FailoverControllers associated with the NameNode's nameservice are also deleted. A SecondaryNameNode is created on the host specified by the arugments.

If no nameservices uses Quorum Journal after HA is disabled for the specified nameservice, then all JournalNodes are also deleted.

Then, HDFS service is restarted and all services that were stopped are started again afterwards. Finally, client configs for HDFS and its depedents will be re-deployed.

Parameters

name description type default
serviceName The HDFS service name. path
clusterName (no documentation provided) path

Request Body

element: hdfsDisableNnHaArgs

Arguments for the command.

Response Body

element: command

Information about the submitted command.