-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-39195][SQL] Spark OutputCommitCoordinator should abort stage when committed file not consistent with task status #36564
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
19135e0
[SPARK-39195][SQL] Spark should use two step update of outputCommitCo…
AngersZhuuuu 7062d32
Update
AngersZhuuuu f4caa22
Update OutputCommitCoordinatorSuite.scala
AngersZhuuuu 5e6c0be
Spark OutputCommitCoordinator should keep consistent
AngersZhuuuu 171bd6a
Merge branch 'SPARK-39195' of https://github.com/AngersZhuuuu/spark i…
AngersZhuuuu b070c9d
revert
AngersZhuuuu 796c08c
Update OutputCommitCoordinator.scala
AngersZhuuuu 1d79aae
Merge remote-tracking branch 'upstream/master' into SPARK-39195
AngersZhuuuu 5f5729b
Update SparkHadoopMapRedUtil.scala
AngersZhuuuu 759814b
Update
AngersZhuuuu b4e11cc
trigger
AngersZhuuuu 7642cdb
Update SparkHadoopMapRedUtil.scala
AngersZhuuuu e6dce26
Revert "Update SparkHadoopMapRedUtil.scala"
AngersZhuuuu 6a403d7
Revert "Update"
AngersZhuuuu bc1214c
Revert "Update SparkHadoopMapRedUtil.scala"
AngersZhuuuu b5d2885
Revert "Update OutputCommitCoordinator.scala"
AngersZhuuuu b13dfbe
Revert "Spark OutputCommitCoordinator should keep consistent"
AngersZhuuuu ad67d0d
[SPARK-39195][SQL] Spark should use two step update of outputCommitCo…
AngersZhuuuu 0e366a8
Update
AngersZhuuuu 11ba4b7
Update
AngersZhuuuu cc71ddc
Update OutputCommitCoordinator.scala
AngersZhuuuu e7204df
Update OutputCommitCoordinator.scala
AngersZhuuuu 9426f30
Update
AngersZhuuuu 60e03f3
Update OutputCommitCoordinator.scala
AngersZhuuuu f77c9c3
follow comment
AngersZhuuuu c1faddd
Update SQLQuerySuite.scala
AngersZhuuuu f7b92e1
Update SQLQuerySuite.scala
AngersZhuuuu ec5ef4b
re-trigger
AngersZhuuuu 58ea1a9
Update
AngersZhuuuu 58b6c0f
Update OutputCommitCoordinator.scala
AngersZhuuuu beed831
Update
AngersZhuuuu 87fadf0
Update SQLQuerySuite.scala
AngersZhuuuu 46aa5e0
Update DAGScheduler.scala
AngersZhuuuu 3924127
Update core/src/main/scala/org/apache/spark/scheduler/OutputCommitCoo…
AngersZhuuuu 9c24d8e
Follow comment
AngersZhuuuu 60beea1
Update SQLQuerySuite.scala
AngersZhuuuu c0bbcb8
Follow comment
AngersZhuuuu 35b613a
Update SparkEnv.scala
AngersZhuuuu 7bc078f
Update OutputCommitCoordinatorSuite.scala
AngersZhuuuu b52a617
Update OutputCommitCoordinatorSuite.scala
AngersZhuuuu ce5ac35
Update OutputCommitCoordinatorSuite.scala
AngersZhuuuu 7ca7ca3
Update OutputCommitCoordinatorSuite.scala
AngersZhuuuu 79815ab
Update OutputCommitCoordinatorIntegrationSuite.scala
AngersZhuuuu c6c73e1
trigegr
AngersZhuuuu 77f124c
update
AngersZhuuuu 56543db
Update OutputCommitCoordinatorSuite.scala
AngersZhuuuu b524a87
Update OutputCommitCoordinatorSuite.scala
AngersZhuuuu 4a1a092
Update OutputCommitCoordinatorIntegrationSuite.scala
AngersZhuuuu cd404d3
Merge branch 'master' into SPARK-39195
AngersZhuuuu a6be796
Update OutputCommitCoordinatorIntegrationSuite.scala
AngersZhuuuu d23bcbc
Update OutputCommitCoordinatorSuite.scala
AngersZhuuuu c29c9fb
Revert "Update OutputCommitCoordinatorSuite.scala"
AngersZhuuuu 11d3ef2
Update OutputCommitCoordinatorSuite.scala
AngersZhuuuu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@cloud-fan I think this is not very clear or correct in the reason string.
stageState.authorizedCommittersrecords a commit is allowed but it is not actually successful. So as you said the driver never knows if the task commit is successful or not. Maybe we should update this to reduce confusion.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1. @AngersZhuuuu can you refine it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
With #38980 seems we didn't need this patch anymore
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, shall we create a PR to revert it then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Double checked with @boneanxs , we should revert this, let me do this.