Splat recordExecutorEvent args for cleaner event messages #2582
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.
PR loosely related to #1263
Purpose of this PR
Splats args provided to
recordExecutorEvent
to avoid missing interpolation in event messages.Change Category
Rationale
Without this change you'll get messages that look like this:
With this change they look like this instead:
Checklist
I have updated documentation accordingly.no documentation found on event formattingI have added tests that prove my changes are effective or that my feature works.see Additional NotesAdditional Notes
It looks like the
args
slice was introduced back in #1280 and has been un-splatted ever since.There doesn't appear to be any specific testing for these event recorders, but I confirmed via panic insertion that it does get exercised by "SparkApplication Controller When reconciling a running SparkApplication [It] Should add the executors to the SparkApplication"