cluster mapreduce get

Displays the cluster-wide default for the MapReduce mode.

WARNING
This command is deprecated alongside MapReduce v1.

Syntax

CLI
maprcli cluster mapreduce get
REST
Request Type GET
Request URL
http[s]://<host>:<port>/rest/cluster/mapreduce/get

Output Fields

Field Description
default_mode Displays either yarn or classic.
mapreduce_version Displays the Hadoop version associated with the default_mode.

Sample Output

default_mode  mapreduce_version  
classic       0.20.2

Examples

CLI
maprcli cluster mapreduce get
REST
NOTE
When using a self-signed certificate pass the -k option to curl to avoid the certificate check.
curl -k -u <username> -X GET https://abc.sj.us:8443/rest/cluster/mapreduce/get
{"timestamp":1715235235867,"timeofday":"2024-05-08 11:13:55.867 GMT-0700 PM","status":"OK","total":1,"data":[{"default_mode":"yarn","mapreduce_version":"3.3.5"}]}