Configuring the MapReduce Mode on the Command Line
You can set the MapReduce mode in the command line to override the MapReduce mode set in an environment variable, and the default mode of the client node and the cluster. Using this method, you can run MapReduce v1 and MapReduce v2 jobs one after the other from the same shell.
Use one of the following methods to specify the MapReduce mode when you run a MapReduce job or
application from the command line:
MapReduce Version | Methods |
---|---|
MapReduce v1 |
|
MapReduce v2 |
|
Use the MapReduce mode set by the MAPR_MAPREDUCE_MODE environment variable. If the MAPR_MAPREDUCE_MODE is not set, use the default_mode value in the hadoop_version file on the current node. |
|