-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-49190][K8S][FOLLOW-UP] Add how to populate executor log url vars with env vars #47801
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
docs/running-on-kubernetes.md
Outdated
| spark.ui.custom.executor.log.url='https://log-server/log?appId={{APP_ID}}&execId={{EXECUTOR_ID}}' | ||
| ``` | ||
|
|
||
| You can add custom variables to this url template, populated with the values of existing executor environment variables like |
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.
add custom -> add additional custom
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.
Done in e0eba77.
docs/running-on-kubernetes.md
Outdated
| You can add custom variables to this url template, populated with the values of existing executor environment variables like | ||
|
|
||
| ``` | ||
| spark.executorEnv.SPARK_EXECUTOR_ATTRIBUTE_YOUR_VAR='$(EXECUTOR_ENV_VAR)' |
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.
EXECUTOR_ENV_VAR part looks confusing. According to the above description, EXISTING_EXECUTOR_ENV_VAR could be better.
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.
Sounds good, done in e0eba77.
dongjoon-hyun
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.
Thank you, @EnricoMi .
Merged to master~
|
Thanks @dongjoon-hyun! |
What changes were proposed in this pull request?
Mentions in the docs how to populate custom executor log url vars with environment variable's values.
Why are the changes needed?
This feature exists since 3.0.0 but is not documented elsewhere.
Does this PR introduce any user-facing change?
Improves documentation.
How was this patch tested?
Not tested.
Was this patch authored or co-authored using generative AI tooling?
No.