Skip to content

[SPARK-35328][Core] Use 'SPARK_DRIVER_LOG_URL_' as env prefix for getting driver log urls by default#32456

Closed
sharkdtu wants to merge 3 commits into
apache:masterfrom
sharkdtu:master
Closed

[SPARK-35328][Core] Use 'SPARK_DRIVER_LOG_URL_' as env prefix for getting driver log urls by default#32456
sharkdtu wants to merge 3 commits into
apache:masterfrom
sharkdtu:master

Conversation

@sharkdtu

@sharkdtu sharkdtu commented May 6, 2021

Copy link
Copy Markdown
Contributor

What changes were proposed in this pull request?

Currently, spark on kubernetes can't show logs url on ui. To check history logs, we usually collect pod logs to third-party logging services, which can be accessed by urls. To show log urls on ui, we can set env prefixed with 'SPARK_LOG_URL_' for executors. But for driver, there is no way to show log urls by setting env.

This pr use 'SPARK_DRIVER_LOG_URL_' as env prefix for getting driver log urls by default.

Why are the changes needed?

To show driver log urls on ui by setting env prefixed with 'SPARK_DRIVER_LOG_URL_'.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

N/A

@github-actions github-actions Bot added the CORE label May 6, 2021
@AmplabJenkins

Copy link
Copy Markdown

Can one of the admins verify this patch?

@HyukjinKwon

Copy link
Copy Markdown
Member

@HyukjinKwon HyukjinKwon changed the title [SPARK-35328][Core] Use 'SPARK_LOG_URL_' as env prefix for getting driver log urls by def… [SPARK-35328][Core] Use 'SPARK_LOG_URL_' as env prefix for getting driver log urls by default May 7, 2021
@sharkdtu sharkdtu changed the title [SPARK-35328][Core] Use 'SPARK_LOG_URL_' as env prefix for getting driver log urls by default [SPARK-35328][Core] Use 'SPARK_DRIVER_LOG_URL_' as env prefix for getting driver log urls by default May 7, 2021
@sharkdtu

sharkdtu commented May 7, 2021

Copy link
Copy Markdown
Contributor Author

@HyukjinKwon Thanks, PR description has been updated and the test failure has been fixed.

@sharkdtu

Copy link
Copy Markdown
Contributor Author

@HyukjinKwon Could you review this pr, and merge it if it is ok. Thanks a lot.

@github-actions

github-actions Bot commented Sep 5, 2021

Copy link
Copy Markdown

We're closing this PR because it hasn't been updated in a while. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable.
If you'd like to revive this PR, please reopen it and ask a committer to remove the Stale tag!

@github-actions github-actions Bot added the Stale label Sep 5, 2021
@github-actions github-actions Bot closed this Sep 6, 2021
@fanyilun

fanyilun commented Dec 8, 2021

Copy link
Copy Markdown

Does anyone follow up on this pr? It's quite useful for spark on k8s.

@pan3793

pan3793 commented Nov 1, 2022

Copy link
Copy Markdown
Member

I'm working on #38357, it covers this functionality.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants