You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2016/10/07 10:46:46 UTC

spark git commit: [SPARK-17782][STREAMING][BUILD] Add Kafka 0.10 project to build modules

Repository: spark
Updated Branches:
  refs/heads/master bcaa799cb -> 18bf9d2b2


[SPARK-17782][STREAMING][BUILD] Add Kafka 0.10 project to build modules

## What changes were proposed in this pull request?
This PR adds the Kafka 0.10 subproject to the build infrastructure. This makes sure Kafka 0.10 tests are only triggers when it or of its dependencies change.

Author: Herman van Hovell <hv...@databricks.com>

Closes #15355 from hvanhovell/SPARK-17782.


Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/18bf9d2b
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/18bf9d2b
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/18bf9d2b

Branch: refs/heads/master
Commit: 18bf9d2b2d7eae0574102d4f15ac27dc71dea18a
Parents: bcaa799
Author: Herman van Hovell <hv...@databricks.com>
Authored: Fri Oct 7 11:46:39 2016 +0100
Committer: Sean Owen <so...@cloudera.com>
Committed: Fri Oct 7 11:46:39 2016 +0100

----------------------------------------------------------------------
 dev/sparktestsupport/modules.py | 11 +++++++++++
 1 file changed, 11 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/spark/blob/18bf9d2b/dev/sparktestsupport/modules.py
----------------------------------------------------------------------
diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py
index 5f14683..b34ab51 100644
--- a/dev/sparktestsupport/modules.py
+++ b/dev/sparktestsupport/modules.py
@@ -241,6 +241,17 @@ streaming_kafka = Module(
     ]
 )
 
+streaming_kafka_0_10 = Module(
+    name="streaming-kafka-0-10",
+    dependencies=[streaming],
+    source_file_regexes=[
+        "external/kafka-0-10",
+        "external/kafka-0-10-assembly",
+    ],
+    sbt_test_goals=[
+        "streaming-kafka-0-10/test",
+    ]
+)
 
 streaming_flume_sink = Module(
     name="streaming-flume-sink",


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org