-
Notifications
You must be signed in to change notification settings - Fork 594
HDDS-6561. Modify default bucket layout to LEGACY. #3296
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
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/om/TestObjectStore.java
Show resolved
Hide resolved
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/shell/TestOzoneShellHA.java
Show resolved
Hide resolved
|
Please remove the test config that introduced to satisfy default OBS behavior at the OM server side. OzoneConfigKeys.java |
|
@JyotinderSingh Adding one more point to the above, no need to persist LEGACY layout in the OM DB. Only persist OBS or FSO layouts. Please feel free to create a separate task if it requires more changes. |
Done |
…onfig + fix related tests.
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/bucket/CreateBucketHandler.java
Outdated
Show resolved
Hide resolved
rakeshadr
left a comment
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.
+1 LGTM, Thanks @JyotinderSingh for the contribution.
What changes were proposed in this pull request?
This task to modify the existing default bucket layout at the OM server and Ozone shell command to LEGACY.
OMConfigKeys.java#L283
CreateBucketHandler.java#L64
Changing to
LEGACYwill make the cluster upgrades easier. An older version client can talk to the new OM server usingLEGACYbuckets.What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-6561
How was this patch tested?
Integration tests.