Specifying settings from the mrsh utility
Specify job-level settings for the scheduling policy using the mrsh job submission utility.
Procedure
Add the following options to your job submission command. Options set in the mrsh command override all other settings.
- pmr.job.reduce.service.to.slot.ratio: Specifies the number of slots required to run a reduce service instance, represented as 1:N or N:1, where N is a positive integer with a maximum value of 10.
- pmr.job.map.resourceGroup.filter: Specifies a list of resource groups on whose resources map tasks can run. The system does not validate the filter you specify. If the specified filter does not exist, workload hangs because of a lack of matching resources.
- pmr.job.reduce.resourceGroup.filter: Specifies a list of resource groups on whose resources reduce tasks can run. The system does not validate the filter you specify. If the specified filter does not exist, workload hangs because of a lack of matching resources.
For example:
$ mrsh jar jarfile [classname] -Dpmr.job.reduce.service.to.slot.ratio=1:9 pmr.job.map.resourceGroup.filter=rg2 pmr.job.reduce.resourceGroup.filter=rg6 [args]