Skip to content
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

HDDS-3065. Ozone Filesystem should return real default replication #595

Merged
merged 2 commits into from Feb 24, 2020

Conversation

adoroszlai
Copy link
Contributor

What changes were proposed in this pull request?

Make BasicOzoneFileSystem#getDefaultReplication() return the configured replication factor instead of 1.

https://issues.apache.org/jira/browse/HDDS-3065

How was this patch tested?

Added unit test for default and custom config cases.

https://github.com/adoroszlai/hadoop-ozone/runs/465304016

@adoroszlai adoroszlai self-assigned this Feb 24, 2020
Copy link
Contributor

@xiaoyuyao xiaoyuyao left a comment

Choose a reason for hiding this comment

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

LGTM, +1.

@xiaoyuyao xiaoyuyao merged commit 63e6ac2 into apache:master Feb 24, 2020
@adoroszlai
Copy link
Contributor Author

Thanks @xiaoyuyao for reviewing and committing it.

@adoroszlai adoroszlai deleted the HDDS-3065 branch February 25, 2020 05:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants