diff --git a/hadoop-tools/hadoop-sls/src/test/resources/fair-scheduler-allocation.xml b/hadoop-tools/hadoop-sls/src/test/resources/fair-scheduler-allocation.xml index 8756a6ac81..e69de29bb2 100644 --- a/hadoop-tools/hadoop-sls/src/test/resources/fair-scheduler-allocation.xml +++ b/hadoop-tools/hadoop-sls/src/test/resources/fair-scheduler-allocation.xml @@ -1,50 +0,0 @@ - - - - - - - - - 1000 - - 1000 - - 1024 mb, 1 vcores - fair - 0.25 - 2 - - - 1024 mb, 1 vcores - fair - 0.25 - 2 - - - 1024 mb, 1 vcores - 0.5 - fair - 2 - - diff --git a/hadoop-tools/hadoop-sls/src/test/resources/fair-scheduler.xml b/hadoop-tools/hadoop-sls/src/test/resources/fair-scheduler.xml index 12cf81dd68..fa10359c50 100644 --- a/hadoop-tools/hadoop-sls/src/test/resources/fair-scheduler.xml +++ b/hadoop-tools/hadoop-sls/src/test/resources/fair-scheduler.xml @@ -20,28 +20,31 @@ The documentation also includes a sample config file. --> - - - Absolute path to allocation file. An allocation file is an XML - manifest describing queues and their properties, in addition to certain - policy defaults. This file must be in XML format as described in - http://hadoop.apache.org/docs/current/hadoop-yarn/hadoop-yarn-site/FairScheduler.html. - - yarn.scheduler.fair.allocation.file - src/test/resources/fair-scheduler-allocation.xml - - - - Whether to use preemption. Note that preemption is experimental - in the current version. Defaults to false. - yarn.scheduler.fair.preemption - true - - - - Whether to allow multiple container assignments in one - heartbeat. Defaults to false. - yarn.scheduler.fair.assignmultiple - true - - + + + + 1000 + + 1000 + + 1024 mb, 1 vcores + fair + 0.25 + 2 + + + 1024 mb, 1 vcores + fair + 0.25 + 2 + + + 1024 mb, 1 vcores + 0.5 + fair + 2 + + diff --git a/hadoop-tools/hadoop-sls/src/test/resources/yarn-site.xml b/hadoop-tools/hadoop-sls/src/test/resources/yarn-site.xml index 8ab23b9b91..f6c6a4a983 100644 --- a/hadoop-tools/hadoop-sls/src/test/resources/yarn-site.xml +++ b/hadoop-tools/hadoop-sls/src/test/resources/yarn-site.xml @@ -55,4 +55,17 @@ false + + Whether to use preemption. Note that preemption is experimental + in the current version. Defaults to false. + yarn.scheduler.fair.preemption + true + + + + Whether to allow multiple container assignments in one + heartbeat. Defaults to false. + yarn.scheduler.fair.assignmultiple + true + diff --git a/hadoop-yarn-project/CHANGES.txt b/hadoop-yarn-project/CHANGES.txt index e50461948d..98487c9e0f 100644 --- a/hadoop-yarn-project/CHANGES.txt +++ b/hadoop-yarn-project/CHANGES.txt @@ -78,6 +78,9 @@ Release 2.3.0 - UNRELEASED YARN-1268. TestFairScheduler.testContinuousScheduling is flaky (Sandy Ryza) + YARN-1300. SLS tests fail because conf puts YARN properties in + fair-scheduler.xml (Ted Yu via Sandy Ryza) + Release 2.2.1 - UNRELEASED INCOMPATIBLE CHANGES