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

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

POST

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

Will perform the following steps:

Available since API v6.

Parameters

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