Details
-
Question
-
Status: Open
-
Major
-
Resolution: Unresolved
-
3.2.1
-
None
Description
At the company I work at we're using Spark Structured Streaming to sink messages on kafka to HDFS. We're in the late stages of migrating this component to instead sink messages to AWS S3, and in connection with that we hit upon a couple of issues regarding hadoop committers.
I've come to understand that the default "file" committer (documented here) is unsafe to use in S3, which is why this page in the spark documentation recommends using the "directory" (i.e. staging) committer, and in later versions of hadoop they also recommend to use the "magic" committer.
However, it's not clear whether spark structured streaming even use committers. There's no "_SUCCESS" file in destination (as compared to normal spark jobs), and the documentation regarding committers used in streaming is non-existent.
Can anyone please shed some light on this?
Attachments
Issue Links
- depends upon
-
SPARK-40039 Introducing a streaming checkpoint file manager based on Hadoop's Abortable interface
- Resolved