-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-3805. [OFS] Remove usage of OzoneClientAdapter interface #1363
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
(cherry picked from commit 70311f8e7eac5ab5032aa5b4b28ff3b89eb65787)
2. Get rid of getClientProtocol(). 3. Add getVolumeDetails() and deleteVolume().
2. Fix TestRootedOzoneFileSystem. Change-Id: Ic829a3dd430b97f9136057142eb8a2d6124a5852
…pter. Change-Id: I52d6efaf300327cff32c6101390aa4eeea766bea
Change-Id: I9f79f26ed087b2df98937df79e6fb30f0d5c2434
…tVolumes directly requires a maxListResult, making the logic unnecessarily complicated. Change-Id: I81bab3e4a30b7f2dbd99049220c0465ec7d99f7f
|
Note the previous 5 commits are directly from the previous PR. The last commit 37a4414 is to address the new I wanted to use proxy directly, only to find that I would need to build what ObjectStore has already done for me when listing volumes. So I kept ObjectStore as class global variable. |
|
Thanks for the separation @smengcl, I think it's easier to discuss. I am not sure it's the same patch what I already commented or not. I had a comment in the previous PR, where the discussion is stopped:
This patch seems to use |
I'm thinking of renaming But one uncertainly is that there is one class extending public class RootedOzoneClientAdapterImpl
extends BasicRootedOzoneClientAdapterImpl {The class is dealing with I'm not sure of the implication of the renaming. What do you think? |
Definitely better, IMHO. It's not clear why we need to move out some functions to a helper class (
This is only about the statistics. Independent to what type of classes do you have: You need a For the old-school
As far as I see we already have this logic for If your helper class can be used from both project without problem, you don't need to create two helper classses for the two use-cases. |
|
/pending |
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.
Marking this issue as un-mergeable as requested.
Please use /ready comment when it's resolved.
Please note that the PR will be closed after 21 days of inactivity from now. (But can be re-opened anytime later...)
/pending
|
Thank you very much for the patch. I am closing this PR temporarily as there was no activity recently and it is waiting for response from its author. It doesn't mean that this PR is not important or ignored: feel free to reopen the PR at any time. It only means that attention of committers is not required. We prefer to keep the review queue clean. This ensures PRs in need of review are more visible, which results in faster feedback for all PRs. If you need ANY help to finish this PR, please contact the community on the mailing list or the slack channel." |
This PR is derived from #1088 as the previous one is split into multiple jiras and needs rebase. I'm hoping opening up a brand new PR for the original jira would make things simpler.
What changes were proposed in this pull request?
Use ClientProtocol directly in Adapter and FS.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-3805
How was this patch tested?
Existing tests should pass.