-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Retry HTTP operation in case IOException too (exponential backoff) #3293
Conversation
Can one of the admins verify this patch? |
Kudos, SonarCloud Quality Gate passed! |
@geoand : Would appreciate it if you could review this one since you suggested 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.
LGTM!
Could the cases be combined?
|
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, thx!
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
Just added the comment/nit about combining the retry cases.
We can address those separately |
Thanks for everybody! |
### What changes were proposed in this pull request? Upgrade Kubernetes Client Version to 5.6.0. ### Why are the changes needed? The exponential backoff feature is extended with one more case: [ Retry HTTP operation in case IOException too (exponential backoff)](fabric8io/kubernetes-client#3293) ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Tested with existing unit and integration tests: ``` KubernetesSuite: - Run SparkPi with no resources - Run SparkPi with a very long application name. - Use SparkLauncher.NO_RESOURCE - Run SparkPi with a master URL without a scheme. - Run SparkPi with an argument. - Run SparkPi with custom labels, annotations, and environment variables. - All pods have the same service account by default - Run extraJVMOptions check on driver - Run SparkRemoteFileTest using a remote data file - Verify logging configuration is picked from the provided SPARK_CONF_DIR/log4j.properties - Run SparkPi with env and mount secrets. - Run PySpark on simple pi.py example - Run PySpark to test a pyfiles example - Run PySpark with memory customization - Run in client mode. - Start pod creation from template - Launcher client dependencies - SPARK-33615: Launcher client archives - SPARK-33748: Launcher python client respecting PYSPARK_PYTHON - SPARK-33748: Launcher python client respecting spark.pyspark.python and spark.pyspark.driver.python - Launcher python client dependencies using a zip file - Test basic decommissioning - Test basic decommissioning with shuffle cleanup - Test decommissioning with dynamic allocation & shuffle cleanups - Test decommissioning timeouts ... [INFO] BUILD SUCCESS ``` Closes #33593 from attilapiros/SPARK-36358. Authored-by: attilapiros <[email protected]> Signed-off-by: Dongjoon Hyun <[email protected]>
Description
Fixing #3291: Retrying the HTTP operation in case of IOException too.
Tested with unit tests.
With the following logger config:
the unit tests produced the following example output (partial output):
Type of change
test, version modification, documentation, etc.)
Checklist