XiaoMi / minos

Minos is beyond a hadoop deployment system.
Apache License 2.0
522 stars 200 forks source link

the default config value for scheduler of resourcemanager in yarn-common.cfg is incompatible with different version of hadoop #15

Open hpttlook opened 10 years ago

hpttlook commented 10 years ago

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.

wuzesheng commented 10 years ago

It will take me some time to make sure of this, before which we just keep this issue open.