From 8a9d9cc1561cf157793c90db6700ffa6f1f00a69 Mon Sep 17 00:00:00 2001 From: jerryshao Date: Wed, 8 Jul 2015 12:23:32 +0100 Subject: [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 Closes #5632 from jerryshao/SPARK-7050 and squashes the following commits: 74b068d [jerryshao] Fix mvn build issue --- external/kafka-assembly/pom.xml | 1 + 1 file changed, 1 insertion(+) 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 @@ maven-shade-plugin false + ${project.build.directory}/scala-${scala.binary.version}/spark-streaming-kafka-assembly-${project.version}.jar *:* -- cgit v1.2.3