Skip to content
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

[SPARK-42971][CORE] Change to print workdir if appDirs is null when worker handle WorkDirCleanup event #40597

Closed
wants to merge 1 commit into from

Conversation

LuciferYang
Copy link
Contributor

@LuciferYang LuciferYang commented Mar 30, 2023

What changes were proposed in this pull request?

This pr change to print workdir if appDirs is null when worker handle WorkDirCleanup event.

Why are the changes needed?

Print appDirs ause a NPE because appDirs is null and from the context, what should be printed is workdir

Does this PR introduce any user-facing change?

No

How was this patch tested?

Pass GitHub Actions

@github-actions github-actions bot added the CORE label Mar 30, 2023
@LuciferYang
Copy link
Contributor Author

cc @HyukjinKwon @sadikovi

@HyukjinKwon
Copy link
Member

Merged to master and branch-3.4.

HyukjinKwon pushed a commit that referenced this pull request Mar 30, 2023
…en worker handle `WorkDirCleanup` event

### What changes were proposed in this pull request?
This pr change to print `workdir` if `appDirs` is null when worker handle `WorkDirCleanup` event.

### Why are the changes needed?
Print `appDirs` ause a NPE because `appDirs` is null and from the context, what should be printed is `workdir`

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass GitHub Actions

Closes #40597 from LuciferYang/SPARK-39296-FOLLOW.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit f105fe8)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
@LuciferYang
Copy link
Contributor Author

Thanks @HyukjinKwon @sadikovi

snmvaughan pushed a commit to snmvaughan/spark that referenced this pull request Jun 20, 2023
…en worker handle `WorkDirCleanup` event

### What changes were proposed in this pull request?
This pr change to print `workdir` if `appDirs` is null when worker handle `WorkDirCleanup` event.

### Why are the changes needed?
Print `appDirs` ause a NPE because `appDirs` is null and from the context, what should be printed is `workdir`

### Does this PR introduce _any_ user-facing change?
No

### How was this patch tested?
Pass GitHub Actions

Closes apache#40597 from LuciferYang/SPARK-39296-FOLLOW.

Authored-by: yangjie01 <yangjie01@baidu.com>
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
(cherry picked from commit f105fe8)
Signed-off-by: Hyukjin Kwon <gurwls223@apache.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
3 participants