Github user jerryshao commented on a diff in the pull request:
https://github.com/apache/spark/pull/4961#discussion_r27939248
--- Diff: python/run-tests ---
@@ -96,6 +98,21 @@ 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 " \
+ "'build/sbt assembly/assembly
streaming-kafka-assembly/assembly' or" \
+ "'build/mvn package' before running this program" 1>&2
+ exit 1
--- End diff --
So what is your suggestion?
---
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]