-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-46723][CONNECT][SCALA] Make addArtifact retryable #44740
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
Conversation
vicennial
left a comment
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!
| .connectionString(s"sc://localhost:${server.getPort}") | ||
| .interceptor(new ClientInterceptor { | ||
| override def interceptCall[ReqT, RespT]( | ||
| methodDescriptor: MethodDescriptor[ReqT, RespT], |
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.
NIT style
hvanhovell
left a comment
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
|
Tests green! |
|
Merged to master. |
What changes were proposed in this pull request?
Make addArtifact API retrying on errors.
Note this is safe operation since addArtifact is idempotent operation (#43314)
Why are the changes needed?
For the same reasons as we make other API retryable.
Does this PR introduce any user-facing change?
Yes
How was this patch tested?
Added test.
Testing by hand against custom spark server.
Was this patch authored or co-authored using generative AI tooling?
No & never