Skip to content

Add exclude-ufs option for mount command#17214

Open
Haoning-Sun wants to merge 4 commits intoAlluxio:master-2.xfrom
Haoning-Sun:add-mount-option
Open

Add exclude-ufs option for mount command#17214
Haoning-Sun wants to merge 4 commits intoAlluxio:master-2.xfrom
Haoning-Sun:add-mount-option

Conversation

@Haoning-Sun
Copy link
Copy Markdown
Contributor

What changes are proposed in this pull request?

Add exclude-ufs option for mount command.

@alluxio-bot alluxio-bot added the API Change Changes covering public API label Apr 7, 2023
@ssz1997
Copy link
Copy Markdown
Contributor

ssz1997 commented Apr 7, 2023

@LuQQiu Please take a look at whether this is reasonable. Thanks!

Copy link
Copy Markdown
Contributor

@maobaolong maobaolong left a comment

Choose a reason for hiding this comment

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

@Haoning-Sun Thanks for this feature, left some minor comment.

Copy link
Copy Markdown
Contributor

@maobaolong maobaolong left a comment

Choose a reason for hiding this comment

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

Left new comments

@Override
public String getUsage() {
return "mount [--readonly] [--shared] [--option <key=val>] <alluxioPath> <ufsURI>";
return "mount [--exclude-ufs/--readonly] [--shared] [--option <key=val>] "
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Sorry for the wrong suggestion for last week, how about this following suggestion?

 return "mount <[--exclude-ufs] | [--readonly] [--shared] [--option <key=val>] <alluxioPath> <ufsURI>>"

@jiacheliu3 @dbw9580 How about your idea?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copy link
Copy Markdown
Contributor

@maobaolong maobaolong left a comment

Choose a reason for hiding this comment

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

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

API Change Changes covering public API

5 participants