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

Mount Point: /api/v10/clusters/{clusterName}/services/{serviceName}/commands/enableRmHa

POST

Enable high availability (HA) for a YARN ResourceManager.

This command only applies to CDH5+ YARN services.

The command will create a new ResourceManager on the specified host and then create an active/standby pair with the existing ResourceManager. Autofailover will be enabled using ZooKeeper.

As part of enabling HA, any services that depends on the YARN service being modified will be stopped. Command will redeploy the client configurations for services of the cluster after HA has been enabled.

Parameters

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

Request Body

element: enableRmHaArgs

Arguments for the command.

Response Body

element: command

Information about the submitted command.