-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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
Fix alluxio-fuse script for finding fuse pid #18465
Conversation
@@ -329,7 +329,7 @@ unmount_command() { | |||
readonly force_kill | |||
|
|||
local fuse_pid | |||
fuse_pid=$(ps ax -o pid,args | grep [A]lluxioFuse | grep " ${mount_point} " | awk '{print $1}') | |||
fuse_pid=$(ps ax -o pid,args | grep [A]lluxioFuse | grep " ${mount_point}" | awk '{print $1}') |
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.
this may not help distringuish "/path1" from "/path1/path2"
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.
actually i know why this isn't working anymore, its bcos of the mnt table mgr change, the start up script transfers from
-m <mount_point> -u <ufs_root_path>
to
m <mount_point>
if mnt table mgr is enabled, hence not working, should find a way to correct this due to mnt table mgr change.
@jiacheliu3 @dbw9580 FYI
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.
using word boundary for this
f097c65
to
fa3397a
Compare
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.
Awesome! Thanks for fixing it!
alluxio-bot, merge this please. |
merge failed: |
alluxio-bot, merge this please. |
### What changes are proposed in this pull request? Remove additional white space in alluxio-fuse script ### Why are the changes needed? alluxio-fuse unmount <mnt_point> is unable to find the pid of AlluxioFuse process because the grep content isn't correct. ### Does this PR introduce any user facing changes? No pr-link: Alluxio#18465 change-id: cid-3e70b0c8edbaa0ba50d744fd6155b0d494a243f9
What changes are proposed in this pull request?
Remove additional white space in alluxio-fuse script
Why are the changes needed?
alluxio-fuse unmount <mnt_point> is unable to find the pid of AlluxioFuse process because the grep content isn't correct.
Does this PR introduce any user facing changes?
No