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 <[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/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 <[email protected]> Authored: Fri Oct 7 11:46:39 2016 +0100 Committer: Sean Owen <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
