-
Notifications
You must be signed in to change notification settings - Fork 9.2k
HDFS-16879. EC: Fsck -blockId shows number of redundant internal block replicas for EC Blocks #5264
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
…k replicas for EC Blocks
|
💔 -1 overall
This message was automatically generated. |
dineshchitlangia
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 @haiyang1987 thanks for the improvement.
Let us wait for at least one more +1
|
Get, Thanks @dineshchitlangia help review it. |
ZanderXu
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.
LGTM. Thanks @haiyang1987 for your report.
|
Merged, thanks @haiyang1987 for your report. Thanks @dineshchitlangia for your review. |
|
Thanks @ZanderXu @dineshchitlangia help review and merged. |
|
The failed UT |
…k replicas for EC Blocks (apache#5264)
…edundant internal block replicas for EC Blocks (apache#5264)
Description of PR
HDFS-16879
For the block of the ec file run hdfs fsck -blockId xxx can add shows number of redundant internal block replicas.
For code changes:
for example: the current blockgroup has 10 live replicas, and it will show there are 9 live replicas.
actually, there is a live replica that should be in the redundant state, can add shows "No. of redundant Replica: 1"