From d93bfe01486256e8f3618928cf0670a1b2ce59b7 Mon Sep 17 00:00:00 2001 From: Davies Liu Date: Mon, 2 Feb 2015 18:11:51 -0800 Subject: [PATCH] Update make-distribution.sh --- make-distribution.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/make-distribution.sh b/make-distribution.sh index 8313ca047c030..051c87c0894ae 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -196,7 +196,6 @@ echo "Build flags: $@" >> "$DISTDIR/RELEASE" # Copy jars cp "$SPARK_HOME"/assembly/target/scala*/*assembly*hadoop*.jar "$DISTDIR/lib/" cp "$SPARK_HOME"/examples/target/scala*/spark-examples*.jar "$DISTDIR/lib/" -cp "$SPARK_HOME"/external/kafka/scala*/*kafka*assembly*.jar "$DISTDIR/lib/" # This will fail if the -Pyarn profile is not provided # In this case, silence the error and ignore the return code of this command cp "$SPARK_HOME"/network/yarn/target/scala*/spark-*-yarn-shuffle.jar "$DISTDIR/lib/" &> /dev/null || :