Configuring the MapReduce Mode for an Ecosystem Service

  1. 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
  2. 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.
  3. Restart the ecosystem service.