currently, in yarn-common.cfg the following lines specify the scheduler.
use CapacityScheduler yarn.resourcemanager.scheduler.class=org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler
# use DominantResourceCalculator to support cpu scheduling
yarn.scheduler.capacity.resource-calculator=org.apache.hadoop.yarn.server.resourcemanager.resource.DominantResourceCalculator
the scheduler and resource-calculator classes are distributed to different package in different versions . in my test, this config is incompatible with apache hadoop-2.2.0, so it is would be better to delete this two arguments.
currently, in yarn-common.cfg the following lines specify the scheduler.
use CapacityScheduler yarn.resourcemanager.scheduler.class=org.apache.hadoop.yarn.server.resourcemanager.scheduler.capacity.CapacityScheduler
the scheduler and resource-calculator classes are distributed to different package in different versions . in my test, this config is incompatible with apache hadoop-2.2.0, so it is would be better to delete this two arguments.