aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjerryshao <saisai.shao@intel.com>2015-07-08 12:23:32 +0100
committerSean Owen <sowen@cloudera.com>2015-07-08 12:23:32 +0100
commit8a9d9cc1561cf157793c90db6700ffa6f1f00a69 (patch)
tree446d6e43129ffb0545241bf68f44d3f15a676e15
parent351a36d0c54d2f995df956ffb0a4236e12f89aad (diff)
downloadspark-8a9d9cc1561cf157793c90db6700ffa6f1f00a69.tar.gz
spark-8a9d9cc1561cf157793c90db6700ffa6f1f00a69.tar.bz2
spark-8a9d9cc1561cf157793c90db6700ffa6f1f00a69.zip
[SPARK-7050] [BUILD] Fix Python Kafka test assembly jar not found issue under Maven build
To fix Spark Streaming unit test with maven build. Previously the name and path of maven generated jar is different from sbt, which will lead to following exception. This fix keep the same behavior with both Maven and sbt build. ``` Failed to find Spark Streaming Kafka assembly jar in /home/xyz/spark/external/kafka-assembly You need to build Spark with 'build/sbt assembly/assembly streaming-kafka-assembly/assembly' or 'build/mvn package' before running this program ``` Author: jerryshao <saisai.shao@intel.com> Closes #5632 from jerryshao/SPARK-7050 and squashes the following commits: 74b068d [jerryshao] Fix mvn build issue
-rw-r--r--external/kafka-assembly/pom.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/external/kafka-assembly/pom.xml b/external/kafka-assembly/pom.xml
index 8059c44382..977514fa5a 100644
--- a/external/kafka-assembly/pom.xml
+++ b/external/kafka-assembly/pom.xml
@@ -58,6 +58,7 @@
<artifactId>maven-shade-plugin</artifactId>
<configuration>
<shadedArtifactAttached>false</shadedArtifactAttached>
+ <outputFile>${project.build.directory}/scala-${scala.binary.version}/spark-streaming-kafka-assembly-${project.version}.jar</outputFile>
<artifactSet>
<includes>
<include>*:*</include>