Skip to content

Commit fd4e964

Browse files
srowenSumedh Wale
authored andcommitted
[SPARK-25598][STREAMING][BUILD][TEST-MAVEN] Remove flume connector in Spark 3
Removes all vestiges of Flume in the build, for Spark 3. I don't think this needs Jenkins config changes. Existing tests. Closes apache#22692 from srowen/SPARK-25598. Authored-by: Sean Owen <[email protected]> Signed-off-by: Sean Owen <[email protected]>
1 parent 671706c commit fd4e964

File tree

56 files changed

+27
-4154
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

56 files changed

+27
-4154
lines changed

build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,6 @@ allprojects {
115115
kafkaVersion = '2.2.2'
116116
scalaLoggingVersion = '3.9.0' // keep consistent with kafkaVersion
117117
joptVersion = '5.0.4'
118-
flumeVersion = '1.8.0'
119118
db2JdbcVersion = '10.5.0.5'
120119
dockerClientVersion = '8.14.5'
121120
mysqlVersion = '8.0.13'
@@ -441,7 +440,6 @@ gradle.taskGraph.whenReady { graph ->
441440
task generateSources {
442441
dependsOn subprojectBase + 'snappy-spark-core_' + scalaBinaryVersion + ':generateBuildInfo'
443442
dependsOn subprojectBase + 'snappy-spark-catalyst_' + scalaBinaryVersion + ':generateGrammarSource'
444-
dependsOn subprojectBase + 'snappy-spark-streaming-flume-sink_' + scalaBinaryVersion + ':generateAvroJava'
445443
}
446444

447445
if (rootProject.name == 'snappy-spark') {

dev/run-tests.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@ def build_spark_sbt(hadoop_version):
325325
build_profiles = get_hadoop_profiles(hadoop_version) + modules.root.build_profile_flags
326326
sbt_goals = ["test:package", # Build test jars as some tests depend on them
327327
"streaming-kafka-0-8-assembly/assembly",
328-
"streaming-flume-assembly/assembly",
329328
"streaming-kinesis-asl-assembly/assembly"]
330329
profiles_and_goals = build_profiles + sbt_goals
331330

dev/sparktestsupport/modules.py

Lines changed: 0 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -267,39 +267,6 @@ def __hash__(self):
267267
]
268268
)
269269

270-
streaming_flume_sink = Module(
271-
name="streaming-flume-sink",
272-
dependencies=[streaming],
273-
source_file_regexes=[
274-
"external/flume-sink",
275-
],
276-
sbt_test_goals=[
277-
"streaming-flume-sink/test",
278-
]
279-
)
280-
281-
282-
streaming_flume = Module(
283-
name="streaming-flume",
284-
dependencies=[streaming],
285-
source_file_regexes=[
286-
"external/flume",
287-
],
288-
sbt_test_goals=[
289-
"streaming-flume/test",
290-
]
291-
)
292-
293-
294-
streaming_flume_assembly = Module(
295-
name="streaming-flume-assembly",
296-
dependencies=[streaming_flume, streaming_flume_sink],
297-
source_file_regexes=[
298-
"external/flume-assembly",
299-
]
300-
)
301-
302-
303270
mllib_local = Module(
304271
name="mllib-local",
305272
dependencies=[tags],
@@ -387,7 +354,6 @@ def __hash__(self):
387354
pyspark_core,
388355
streaming,
389356
streaming_kafka,
390-
streaming_flume_assembly,
391357
streaming_kinesis_asl
392358
],
393359
source_file_regexes=[

docs/streaming-custom-receivers.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: Spark Streaming Custom Receivers
44
---
55

66
Spark Streaming can receive streaming data from any arbitrary data source beyond
7-
the ones for which it has built-in support (that is, beyond Flume, Kafka, Kinesis, files, sockets, etc.).
7+
the ones for which it has built-in support (that is, beyond Kafka, Kinesis, files, sockets, etc.).
88
This requires the developer to implement a *receiver* that is customized for receiving data from
99
the concerned data source. This guide walks through the process of implementing a custom receiver
1010
and using it in a Spark Streaming application. Note that custom receivers can be implemented

docs/streaming-flume-integration.md

Lines changed: 0 additions & 172 deletions
This file was deleted.

0 commit comments

Comments
 (0)