diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-mapreduce-dist.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-mapreduce-dist.xml
index ee5757644eb..155bec02c16 100644
--- a/hadoop-assemblies/src/main/resources/assemblies/hadoop-mapreduce-dist.xml
+++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-mapreduce-dist.xml
@@ -91,6 +91,62 @@
${project.build.directory}/site
/share/doc/hadoop/${hadoop.component}
+
+ hadoop-mapreduce-client/hadoop-mapreduce-client-app/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-mapreduce-client/hadoop-mapreduce-client-common/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-mapreduce-client/hadoop-mapreduce-client-core/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-mapreduce-client/hadoop-mapreduce-client-hs/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-mapreduce-client/hadoop-mapreduce-client-hs-plugins/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-mapreduce-client/hadoop-mapreduce-client-jobclient/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-mapreduce-client/hadoop-mapreduce-client-shuffle/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-mapreduce-examples/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-tools.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-tools.xml
index 1e3356d3373..e05e9206c23 100644
--- a/hadoop-assemblies/src/main/resources/assemblies/hadoop-tools.xml
+++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-tools.xml
@@ -9,7 +9,7 @@
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
- distributed under the License is distributed on an "AS IS" BASIS,
+ distributed under the Li2cense is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
@@ -44,6 +44,55 @@
lib/native
+
+ ../hadoop-archives/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ ../hadoop-datajoin/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ ../hadoop-distcp/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ ../hadoop-extras/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ ../hadoop-gridmix/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ ../hadoop-rumen/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ ../hadoop-streaming/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml
index 117d8cdbac6..8423e708cbe 100644
--- a/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml
+++ b/hadoop-assemblies/src/main/resources/assemblies/hadoop-yarn-dist.xml
@@ -6,7 +6,7 @@
(the "License"); you may not use this file except in compliance with
the License. You may obtain a copy of the License at
- http://www.apache.org/licenses/LICENSE-2.0
+ http://www.apache.org/licenses/LICENSE-2.01
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
@@ -66,6 +66,76 @@
**/*
+
+ hadoop-yarn/hadoop-yarn-api/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-distributedshell/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-yarn/hadoop-yarn-applications/hadoop-yarn-applications-unmanaged-am-launcher/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-yarn/hadoop-yarn-client/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-yarn/hadoop-yarn-common/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-common/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-nodemanager/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-tests/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
+
+ hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-web-proxy/target
+ /share/hadoop/${hadoop.component}/sources
+
+ *-sources.jar
+
+
hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/conf
etc/hadoop
diff --git a/hadoop-common-project/hadoop-common/CHANGES.txt b/hadoop-common-project/hadoop-common/CHANGES.txt
index 27199debd32..c01b1599b35 100644
--- a/hadoop-common-project/hadoop-common/CHANGES.txt
+++ b/hadoop-common-project/hadoop-common/CHANGES.txt
@@ -1648,6 +1648,9 @@ Release 0.23.8 - UNRELEASED
HADOOP-9233. Cover package org.apache.hadoop.io.compress.zlib with unit
tests (Vadim Bondarev via jlowe)
+ HADOOP-9469. mapreduce/yarn source jars not included in dist tarball
+ (Robert Parker via tgraves)
+
Release 0.23.7 - UNRELEASED
INCOMPATIBLE CHANGES
diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml
index 2d4e447d9ca..c90d5629cf3 100644
--- a/hadoop-project/pom.xml
+++ b/hadoop-project/pom.xml
@@ -952,6 +952,7 @@
package
jar-no-fork
+ test-jar-no-fork