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

Mount Point: /api/v16/clusters/{clusterName}/services/{serviceName}/commands/importMrConfigsIntoYarn

POST

Import MapReduce configuration into Yarn, overwriting Yarn configuration.

You will lose existing Yarn configuration. Read all MapReduce configuration, role assignments, and role configuration groups and update Yarn with corresponding values. MR1 configuration will be converted into the equivalent MR2 configuration.

Before running this command, Yarn must be stopped and MapReduce must exist with valid 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