diff --git a/hadoop-tools/hadoop-sls/src/main/sample-conf/capacity-scheduler.xml b/hadoop-tools/hadoop-sls/src/main/sample-conf/capacity-scheduler.xml
index b74c14a6cd..d9ae8ec78c 100644
--- a/hadoop-tools/hadoop-sls/src/main/sample-conf/capacity-scheduler.xml
+++ b/hadoop-tools/hadoop-sls/src/main/sample-conf/capacity-scheduler.xml
@@ -57,11 +57,4 @@
yarn.scheduler.capacity.root.sls_queue_3.maximum-capacity
100
-
-
- yarn.scheduler.capacity.maximum-applications
- 1000
- Maximum number of applications in the system which
- can be concurrently active both running and pending
-
diff --git a/hadoop-tools/hadoop-sls/src/main/sample-conf/fair-scheduler-allocation.xml b/hadoop-tools/hadoop-sls/src/main/sample-conf/fair-scheduler-allocation.xml
deleted file mode 100644
index 8756a6ac81..0000000000
--- a/hadoop-tools/hadoop-sls/src/main/sample-conf/fair-scheduler-allocation.xml
+++ /dev/null
@@ -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/main/sample-conf/fair-scheduler.xml b/hadoop-tools/hadoop-sls/src/main/sample-conf/fair-scheduler.xml
index 9d315c1f27..fa10359c50 100644
--- a/hadoop-tools/hadoop-sls/src/main/sample-conf/fair-scheduler.xml
+++ b/hadoop-tools/hadoop-sls/src/main/sample-conf/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
- 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/main/sample-conf/yarn-site.xml b/hadoop-tools/hadoop-sls/src/main/sample-conf/yarn-site.xml
index d59d85fd96..6ab1157349 100644
--- a/hadoop-tools/hadoop-sls/src/main/sample-conf/yarn-site.xml
+++ b/hadoop-tools/hadoop-sls/src/main/sample-conf/yarn-site.xml
@@ -57,4 +57,24 @@
false
+
+ yarn.scheduler.capacity.maximum-applications
+ 1000
+ Maximum number of applications in the system which
+ can be concurrently active both running and pending
+
+
+
+ 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 e29873162e..20dc9088ea 100644
--- a/hadoop-yarn-project/CHANGES.txt
+++ b/hadoop-yarn-project/CHANGES.txt
@@ -70,6 +70,9 @@ Release 2.3.0 - UNRELEASED
HADOOP-9598. Improve code coverage of RMAdminCLI (Aleksey Gorshkov and
Andrey Klochkov via jeagles)
+ YARN-1306. Clean up hadoop-sls sample-conf according to YARN-1228 (Wei Yan
+ via Sandy Ryza)
+
OPTIMIZATIONS
BUG FIXES