You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2014/05/13 08:24:59 UTC
[3/3] git commit: BUILD: Add more content to make-distribution.sh.
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/716462c6
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/716462c6
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/716462c6
Branch: refs/heads/branch-1.0
Commit: 716462c6c265325f2b38ff518ba1610fdc3a139b
Parents: 9b8b737
Author: Patrick Wendell <pw...@gmail.com>
Authored: Mon May 12 23:02:54 2014 -0700
Committer: Patrick Wendell <pw...@gmail.com>
Committed: Mon May 12 23:24:40 2014 -0700
----------------------------------------------------------------------
make-distribution.sh | 13 +++++++++++++
1 file changed, 13 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/716462c6/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