spark-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pwend...@apache.org
Subject git commit: BUILD: Add more content to make-distribution.sh.
Date Tue, 13 May 2014 06:26:51 GMT
Repository: spark
Updated Branches:
  refs/heads/master 2792bd016 -> 52d905296


BUILD: Add more content to make-distribution.sh.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/52d90529
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/52d90529
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/52d90529

Branch: refs/heads/master
Commit: 52d905296fd75b3bff34a16cb69e604b68b3c246
Parents: 2792bd0
Author: Patrick Wendell <pwendell@gmail.com>
Authored: Mon May 12 23:02:54 2014 -0700
Committer: Patrick Wendell <pwendell@gmail.com>
Committed: Mon May 12 23:26:43 2014 -0700

----------------------------------------------------------------------
 make-distribution.sh | 13 +++++++++++++
 1 file changed, 13 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/52d90529/make-distribution.sh
----------------------------------------------------------------------
diff --git a/make-distribution.sh b/make-distribution.sh
index 1cc2844..7a08d6b 100755
--- a/make-distribution.sh
+++ b/make-distribution.sh
@@ -171,10 +171,22 @@ echo "Spark $VERSION built for Hadoop $SPARK_HADOOP_VERSION" > "$DISTDIR/RELEASE
 cp $FWDIR/assembly/target/scala*/*assembly*hadoop*.jar "$DISTDIR/lib/"
 cp $FWDIR/examples/target/scala*/spark-examples*.jar "$DISTDIR/lib/"
 
+# Copy example sources (needed for python and SQL)
+mkdir -p "$DISTDIR/examples/src/main"
+cp -r $FWDIR/examples/src/main "$DISTDIR/examples/src/" 
+
 if [ "$SPARK_HIVE" == "true" ]; then
   cp $FWDIR/lib_managed/jars/datanucleus*.jar "$DISTDIR/lib/"
 fi
 
+# Copy license and ASF files
+cp "$FWDIR/LICENSE" "$DISTDIR"
+cp "$FWDIR/NOTICE" "$DISTDIR"
+
+if [ -e $FWDIR/CHANGES.txt ]; then
+  cp "$FWDIR/CHANGES.txt" "$DISTDIR"
+fi
+
 # Copy other things
 mkdir "$DISTDIR"/conf
 cp "$FWDIR"/conf/*.template "$DISTDIR"/conf
@@ -182,6 +194,7 @@ cp "$FWDIR"/conf/slaves "$DISTDIR"/conf
 cp -r "$FWDIR/bin" "$DISTDIR"
 cp -r "$FWDIR/python" "$DISTDIR"
 cp -r "$FWDIR/sbin" "$DISTDIR"
+cp -r "$FWDIR/ec2" "$DISTDIR"
 
 # Download and copy in tachyon, if requested
 if [ "$SPARK_TACHYON" == "true" ]; then


Mime
View raw message