diff --git a/dev-support/bin/ozone-dist-layout-stitching b/dev-support/bin/ozone-dist-layout-stitching index b4d94b300dc..8f1f169395b 100755 --- a/dev-support/bin/ozone-dist-layout-stitching +++ b/dev-support/bin/ozone-dist-layout-stitching @@ -122,7 +122,6 @@ run mkdir "ozone-${HDDS_VERSION}" run cd "ozone-${HDDS_VERSION}" run cp -p "${ROOT}/LICENSE.txt" . run cp -p "${ROOT}/NOTICE.txt" . -run cp -p "${ROOT}/README.txt" . # Copy hadoop-common first so that it have always have all dependencies. # Remaining projects will copy only libraries which are not present already in 'share' directory. @@ -162,6 +161,14 @@ cp -r "${ROOT}/hadoop-ozone/docs/target/classes/webapps/docs" ./ rm sbin/*all.sh rm sbin/*all.cmd +#remove test and java sources +find . -name "*tests.jar" | xargs rm +find . -name "*sources.jar" | xargs rm +find . -name jdiff -type d | xargs rm -rf + +#add ozone specific readme + +run cp "${ROOT}/hadoop-dist/src/main/ozone/README.txt" README.txt #Copy docker compose files run cp -p -r "${ROOT}/hadoop-dist/src/main/compose" . @@ -169,5 +176,5 @@ mkdir -p ./share/hadoop/mapreduce mkdir -p ./share/hadoop/yarn mkdir -p ./share/hadoop/hdfs echo -echo "Hadoop Ozone dist layout available at: ${BASEDIR}/ozone" +echo "Hadoop Ozone dist layout available at: ${BASEDIR}/ozone-${HDDS_VERSION}" echo diff --git a/hadoop-assemblies/src/main/resources/assemblies/hadoop-src-with-hdsl.xml b/hadoop-assemblies/src/main/resources/assemblies/hadoop-src-with-hdds.xml similarity index 100% rename from hadoop-assemblies/src/main/resources/assemblies/hadoop-src-with-hdsl.xml rename to hadoop-assemblies/src/main/resources/assemblies/hadoop-src-with-hdds.xml diff --git a/hadoop-dist/src/main/ozone/README.txt b/hadoop-dist/src/main/ozone/README.txt new file mode 100644 index 00000000000..6bbd83ffd04 --- /dev/null +++ b/hadoop-dist/src/main/ozone/README.txt @@ -0,0 +1,51 @@ + + +This is the distribution of Apache Hadoop Ozone. + +Ozone is a submodule of Hadoop with separated release cycle. For more information, check + + http://ozone.hadoop.apache.org + + and + + https://cwiki.apache.org/confluence/display/HADOOP/Ozone+Contributor+Guide + +For more information about Hadoop, check: + + http://hadoop.apache.org + +This distribution includes cryptographic software. The country in +which you currently reside may have restrictions on the import, +possession, use, and/or re-export to another country, of +encryption software. BEFORE using any encryption software, please +check your country's laws, regulations and policies concerning the +import, possession, or use, and re-export of encryption software, to +see if this is permitted. See for more +information. + +The U.S. Government Department of Commerce, Bureau of Industry and +Security (BIS), has classified this software as Export Commodity +Control Number (ECCN) 5D002.C.1, which includes information security +software using or performing cryptographic functions with asymmetric +algorithms. The form and manner of this Apache Software Foundation +distribution makes it eligible for export under the License Exception +ENC Technology Software Unrestricted (TSU) exception (see the BIS +Export Administration Regulations, Section 740.13) for both object +code and source code. + +The following provides more details on the included cryptographic +software: + Hadoop Core uses the SSL libraries from the Jetty project written +by mortbay.org.