Mount Point: /api/v11/clusters/{clusterName}/services/{serviceName}/commands/switchToMr2


Change the cluster to use MR2 instead of MR1. Services will be restarted.

Will perform the following steps:

Available since API v6.


name description type default
serviceName Name of the Yarn service on which to run the command. path
clusterName (no documentation provided) path

Response Body

element: command

Information about the submitted command