-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Fix for Spark driver init readiness pending #22252
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
Codecov Report❌ Patch coverage is Additional details and impacted files🚀 New features to boost your workflow:
|
spark/assets/configuration/spec.yaml
Outdated
| - name: startup_wait_retries | ||
| description: | | ||
| How many times to retry when Spark returns a startup message instead of JSON. | ||
| Set to -1 to disable, 0 to retry forever, or a positive number to limit retries. |
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 - Can we be a bit more descriptive here? What does retry forever mean? When it retries, does it sit there any block the check execution? What is the behavior when setting it to the different values?
|
Please ping me for a review after you address the feedback from @steveny91. Thanks! |
ed1ffdd to
95960be
Compare
Co-authored-by: Steven Yuen <[email protected]>
Review from steveny91 is dismissed. Related teams and files:
- agent-integrations
- spark/datadog_checks/spark/data/conf.yaml.example
* Fix for Spark driver init readiness pending * Add changelog * Lint * Add config param for retries * Simplify description * Address comments * Update spark/assets/configuration/spec.yaml Co-authored-by: Steven Yuen <[email protected]> * ddev sync models and config --------- Co-authored-by: Steven Yuen <[email protected]> (cherry picked from commit 7477060)
* Fix for Spark driver init readiness pending * Add changelog * Lint * Add config param for retries * Simplify description * Address comments * Update spark/assets/configuration/spec.yaml Co-authored-by: Steven Yuen <[email protected]> * ddev sync models and config --------- Co-authored-by: Steven Yuen <[email protected]> (cherry picked from commit 7477060)
What does this PR do?
Prevents JSON decode errors when the Spark driver is starting but not quite ready.
Motivation
Customer inquiry via support ticket.
Review checklist (to be filled by reviewers)
qa/skip-qalabel if the PR doesn't need to be tested during QA.backport/<branch-name>label to the PR and it will automatically open a backport PR once this one is merged