[Spark] Disable S3A change detection for SeaweedFS compatibility#279
Merged
alxtkr77 merged 1 commit intomlrun:developmentfrom Mar 19, 2026
Merged
[Spark] Disable S3A change detection for SeaweedFS compatibility#279alxtkr77 merged 1 commit intomlrun:developmentfrom
alxtkr77 merged 1 commit intomlrun:developmentfrom
Conversation
…ML-669) SeaweedFS does not return ETags in the format expected by Hadoop's S3A change detection policy, causing Spark jobs to fail with NoVersionAttributeException. Disable ETag-based change detection in spark-defaults.conf. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
|
||
| RUN mkdir /home/spark && chown spark /home/spark | ||
|
|
||
| # Disable S3A ETag-based change detection — SeaweedFS does not return ETags |
Collaborator
There was a problem hiding this comment.
@alxtkr77, is there a way to add this in the Spark config during runtime?
by using spark_conf.update for example.
if not, we need to explain to users that they must build this image before using Spark in CE, right?
Member
Author
There was a problem hiding this comment.
@GiladShapira94 , no need for user to build the image. We will build it and push to gcr. The image will be pulled on CE installation
assaf758
approved these changes
Mar 19, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
NoVersionAttributeException: Change detection policy requires ETagwhen reading from SeaweedFSspark.hadoop.fs.s3a.change.detection.mode nonetospark-defaults.confin the CE Spark Docker imageTest plan
cd docker/spark && make build)test_mlrun_spark_operator_using_set_functionto verify Spark jobs can read from SeaweedFS without ETag errorsFixes: CEML-669
🤖 Generated with Claude Code