-
Notifications
You must be signed in to change notification settings - Fork 413
[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
Conversation
…eborn.worker.storage.workingDir
379b053
to
58c646a
Compare
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/profiler/JVMProfiler.scala
Outdated
Show resolved
Hide resolved
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/profiler/JVMProfiler.scala
Outdated
Show resolved
Hide resolved
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/profiler/JVMProfiler.scala
Outdated
Show resolved
Hide resolved
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/profiler/JVMProfiler.scala
Outdated
Show resolved
Hide resolved
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/profiler/JVMProfiler.scala
Outdated
Show resolved
Hide resolved
…eborn.worker.storage.workingDir
worker/src/main/scala/org/apache/celeborn/service/deploy/worker/profiler/JVMProfiler.scala
Outdated
Show resolved
Hide resolved
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.
LGTM, could you update the PR description?
also update the PR title |
…eborn.worker.jvmProfiler.localDir
381cc32
to
b4f13e9
Compare
@turboFei, thanks for reminder. The title of pull request and the commit message have updated. |
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.
LGTM.
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.
LGTM
thanks, merging to main and branch-0.6(0.6.0) |
…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]>
What changes were proposed in this pull request?
Specify
extractionDir
ofAsyncProfilerLoader
withceleborn.worker.jvmProfiler.localDir
.Why are the changes needed?
AsyncProfilerLoader
usesuser.home
directory to store the extracted libraries by default . Whenuser.home
directory is not initialized, it will causeAsyncProfilerLoader#load
to fail.extractionDir
ofAsyncProfilerLoader
could be specified withceleborn.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.