/clusters/{clusterName}/services/{serviceName}/commands/switchToMr2
Mount Point: /api/v16/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:
- Update all services that depend on MapReduce to instead depend on Yarn.
- Stop MapReduce
- Start Yarn (MR2 Included)
- Deploy Yarn (MR2) Client Configuration
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