Skip to content

[CELEBORN-2046] Specify extractionDir of AsyncProfilerLoader with celeborn.worker.jvmProfiler.localDir #3345

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

Closed
wants to merge 3 commits into from

Conversation

SteNicholas
Copy link
Member

@SteNicholas SteNicholas commented Jun 24, 2025

What changes were proposed in this pull request?

Specify extractionDir of AsyncProfilerLoader with celeborn.worker.jvmProfiler.localDir.

Why are the changes needed?

AsyncProfilerLoader uses user.home directory to store the extracted libraries by default . When user.home directory is not initialized, it will cause AsyncProfilerLoader#load to fail. extractionDir of AsyncProfilerLoader could be specified with celeborn.worker.jvmProfiler.localDir to avoid failure of loading.

Backport apache/spark#51229.

Does this PR introduce any user-facing change?

No.

How was this patch tested?

Manual test.

@SteNicholas
Copy link
Member Author

SteNicholas commented Jun 24, 2025

Ping @turboFei, @pan3793.

@SteNicholas SteNicholas requested review from turboFei and pan3793 June 24, 2025 06:06
@SteNicholas SteNicholas requested a review from turboFei June 25, 2025 02:44
Copy link
Member

@turboFei turboFei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, could you update the PR description?

@turboFei
Copy link
Member

also update the PR title

@SteNicholas SteNicholas changed the title [CELEBORN-2046] Specify extractionDir of AsyncProfilerLoader with celeborn.worker.storage.workingDir [CELEBORN-2046] Specify extractionDir of AsyncProfilerLoader with celeborn.worker.jvmProfiler.localDir Jun 25, 2025
@SteNicholas
Copy link
Member Author

@turboFei, thanks for reminder. The title of pull request and the commit message have updated.

Copy link
Contributor

@FMX FMX left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

Copy link
Member

@turboFei turboFei left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@turboFei
Copy link
Member

thanks, merging to main and branch-0.6(0.6.0)

@turboFei turboFei closed this in 3ee3a26 Jun 25, 2025
turboFei pushed a commit that referenced this pull request Jun 25, 2025
…eborn.worker.jvmProfiler.localDir

### What changes were proposed in this pull request?

Specify `extractionDir` of `AsyncProfilerLoader` with `celeborn.worker.jvmProfiler.localDir`.

### Why are the changes needed?

`AsyncProfilerLoader` uses `user.home` directory to store the extracted libraries by default . When `user.home` directory is not initialized, it will cause `AsyncProfilerLoader#load` to fail. `extractionDir` of `AsyncProfilerLoader` could be specified with `celeborn.worker.jvmProfiler.localDir` to avoid failure of loading.

Backport apache/spark#51229.

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

No.

### How was this patch tested?

Manual test.

Closes #3345 from SteNicholas/CELEBORN-2046.

Lead-authored-by: SteNicholas <[email protected]>
Co-authored-by: 子懿 <[email protected]>
Signed-off-by: Wang, Fei <[email protected]>
(cherry picked from commit 3ee3a26)
Signed-off-by: Wang, Fei <[email protected]>
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.

3 participants