Repository: spark
Updated Branches:
  refs/heads/branch-2.0 f460a199e -> a84d8ef37


[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 <[email protected]>

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/a84d8ef3
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/a84d8ef3
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/a84d8ef3

Branch: refs/heads/branch-2.0
Commit: a84d8ef375f853c5841d458a593e41b457b9e6ff
Parents: f460a19
Author: Herman van Hovell <[email protected]>
Authored: Fri Oct 7 11:46:39 2016 +0100
Committer: Shixiong Zhu <[email protected]>
Committed: Fri Oct 7 11:53:07 2016 -0700

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


http://git-wip-us.apache.org/repos/asf/spark/blob/a84d8ef3/dev/sparktestsupport/modules.py
----------------------------------------------------------------------
diff --git a/dev/sparktestsupport/modules.py b/dev/sparktestsupport/modules.py
index 5da1950..c5d1a07 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to