Github user jerryshao commented on a diff in the pull request:

    https://github.com/apache/spark/pull/4961#discussion_r26369762
  
    --- Diff: python/run-tests ---
    @@ -96,6 +98,20 @@ function run_ml_tests() {
     
     function run_streaming_tests() {
         echo "Run streaming tests ..."
    +
    +    KAFKA_ASSEMBLY_DIR="$FWDIR"/external/kafka-assembly
    +    JAR_PATH="${KAFKA_ASSEMBLY_DIR}/target/scala-${SPARK_SCALA_VERSION}"
    +    for f in "${JAR_PATH}"/spark-streaming-kafka-assembly-*.jar; do
    +      if [[ ! -e "$f" ]]; then
    +        echo "Failed to find Spark Streaming Kafka assembly jar in 
$KAFKA_ASSEMBLY_DIR" 1>&2
    +        echo "You need to build Spark with sbt 
streaming-kafka-assembly/assembly or mvn package" \
    --- End diff --
    
    `sbt assembly` will generate 3 assembly jars, actually what we need is only 
kafka assembly jar, so I wrote here to only assemble one jar. I will change it 
if you like that way.


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to