-
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
Improve HDFS client get status not use mount info #16944
base: master-2.x
Are you sure you want to change the base?
Improve HDFS client get status not use mount info #16944
Conversation
Automated checks report:
Some checks failed. Please fix the reported issues and reply 'alluxio-bot, check this please' to re-run checks. |
Automated checks report:
All checks passed! |
@elega @jiacheliu3 Pls take a look. at it . I think HDFS client get status can not use mount info too. |
I think this makes sense to me. Do you mind rebasing on the current |
d32ef91
to
740d7be
Compare
Done, please help to review. |
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 and i left some nit picky comments
@@ -55,6 +56,14 @@ public final class StatCommand extends AbstractFileSystemCommand { | |||
.required(false) | |||
.desc("specify a file by file-id") | |||
.build(); | |||
private static final Option OMIT_MOUNT_INFO = | |||
Option.builder("m") |
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.
the short option is confusing...
m as in mount? can probably use "xm" as in eXclude Mount info instead
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.
It is consistent with this. He said to use this. @jiacheliu3 .hh
### What changes are proposed in this pull request? Like #16893 and #16944, Before blockinfo will use mountInfo, so it should not use mountInfo after set excludeMountInfo to true. This purpose is also to improve rpc performance with HDFS client. pr-link: #17006 change-id: cid-40e4961f7fbeee067d0b8ff1bc7d927d11b9745c
583a258
to
9a8d400
Compare
### What changes are proposed in this pull request? Like Alluxio#16893 and Alluxio#16944, Before blockinfo will use mountInfo, so it should not use mountInfo after set excludeMountInfo to true. This purpose is also to improve rpc performance with HDFS client. pr-link: Alluxio#17006 change-id: cid-40e4961f7fbeee067d0b8ff1bc7d927d11b9745c
### What changes are proposed in this pull request? Like Alluxio#16893 and Alluxio#16944, Before blockinfo will use mountInfo, so it should not use mountInfo after set excludeMountInfo to true. This purpose is also to improve rpc performance with HDFS client. pr-link: Alluxio#17006 change-id: cid-40e4961f7fbeee067d0b8ff1bc7d927d11b9745c
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions. |
What changes are proposed in this pull request?
like #16893 HDFS client get status not use mount info too
Why are the changes needed?
Does this PR introduce any user facing changes?