MapR 5.0 Documentation : cluster mapreduce set

Sets the cluster-wide MapReduce mode.

Syntax

 

CLI

maprcli cluster mapreduce set
[-mode <yarn|classic>] 

REST

http[s]://<host>:<port>/rest/cluster/mapreduce/set?<parameters>

Parameters

ParameterDescription

Mode

The MapReduce mode of the cluster. Enter one of the following:

  • classic: Use JobTracker and TaskTracker to run MapReduce Jobs.
  • yarn: Use Resource Manager and Node Manager to run MapReduce jobs or applications.

Examples

Sets the MapReduce mode for the cluster to classic.

CLI

maprcli cluster mapreduce set -mode classic 

REST

https://r1n1.sj.us:8443/rest/cluster/mapreduce/set?mode=classic