Skip to content

Conversation

@sharkdtu
Copy link
Contributor

@sharkdtu sharkdtu commented May 6, 2021

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

Can one of the admins verify this patch?

@HyukjinKwon
Copy link
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
Copy link
Contributor Author

sharkdtu commented May 7, 2021

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

@sharkdtu
Copy link
Contributor Author

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

@github-actions
Copy link

github-actions bot commented Sep 5, 2021

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
Copy link

fanyilun commented Dec 8, 2021

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

@pan3793
Copy link
Member

pan3793 commented Nov 1, 2022

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