-
Notifications
You must be signed in to change notification settings - Fork 28.4k
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
[SPARK-23093][SS] Don't change run id when reconfiguring a continuous processing query. #20282
Conversation
Test build #86198 has finished for PR 20282 at commit
|
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.
LGTM except one minor comment about the id.
ContinuousExecution.START_EPOCH_KEY, currentBatchId.toString) | ||
sparkSession.sparkContext.setLocalProperty( | ||
ContinuousExecution.RUN_ID_KEY, runId.toString) | ||
val epochCoordinatorId = UUID.randomUUID.toString |
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.
could you add run_id + random_uuid
so that it's easy to tell which query this epoch coordinator belongs to?
LGTM |
Test build #86203 has finished for PR 20282 at commit
|
retest this please |
Test build #86236 has finished for PR 20282 at commit
|
Test build #86250 has finished for PR 20282 at commit
|
The auto-merge in 70917a5 somehow reverted part of this PR, causing the newly added test to fail. |
Test build #86285 has finished for PR 20282 at commit
|
LGTM. Merging to master and 2.3. |
… processing query. ## What changes were proposed in this pull request? Keep the run ID static, using a different ID for the epoch coordinator to avoid cross-execution message contamination. ## How was this patch tested? new and existing unit tests Author: Jose Torres <[email protected]> Closes #20282 from jose-torres/fix-runid. (cherry picked from commit e946c63) Signed-off-by: Shixiong Zhu <[email protected]>
What changes were proposed in this pull request?
Keep the run ID static, using a different ID for the epoch coordinator to avoid cross-execution message contamination.
How was this patch tested?
new and existing unit tests