Configuring the MapReduce Mode for an Ecosystem Service
Procedure
- Open the warden.<servicename>.conf file for the particular ecosystem service. The warden.<servicename>.conf files are located in the following directory: /opt/mapr/conf/conf.d
-
Edit the MAPR_MAPREDUCE_MODE in the service.env variable. The following values are
valid for the MAPR_MAPREDUCE_MODE:
service.env Value Description MAPR_MAPREDUCE_MODE=classic Specifies that the service submits MapReduce v1 jobs to the cluster. Do not include quotes around this value. MAPR_MAPREDUCE_MODE=yarn Specifies that the service submits MapReduce v2 applications to the cluster. Do not include quotes around this value. "MAPR_MAPREDUCE_MODE=default" Specifies that the service should submit MapReduce jobs/applications based on the cluster’s default MapReduce mode. - Restart the ecosystem service.