[
https://issues.apache.org/jira/browse/HDFS-16841?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17636127#comment-17636127
]
ASF GitHub Bot commented on HDFS-16841:
---------------------------------------
haiyang1987 commented on code in PR #5137:
URL: https://github.com/apache/hadoop/pull/5137#discussion_r1027060564
##########
hadoop-hdfs-project/hadoop-hdfs/src/main/java/org/apache/hadoop/hdfs/tools/DebugAdmin.java:
##########
@@ -432,8 +432,16 @@ private class VerifyECCommand extends DebugCommand {
VerifyECCommand() {
super("verifyEC",
- "verifyEC -file <file>",
- " Verify HDFS erasure coding on all block groups of the file.");
+ "verifyEC -file <file> [-blockId <blk_Id>] [-ignoreFailures]",
Review Comment:
Thanks @tasanuma @ZanderXu help me to review it.
Add option -ignoreFailures to control whether to ignore failures block
group . If set -ignoreFailures, will ignores failures block group during verify
and continues verify all block groups of the file.
> Enhance the function of DebugAdmin#VerifyECCommand
> --------------------------------------------------
>
> Key: HDFS-16841
> URL: https://issues.apache.org/jira/browse/HDFS-16841
> Project: Hadoop HDFS
> Issue Type: Improvement
> Reporter: Haiyang Hu
> Assignee: Haiyang Hu
> Priority: Major
> Labels: pull-request-available
>
> Currently DebugAdmin#VerifyECCommand supports verify the correctness of
> erasure coding on file. If the first failures block group occurs during
> verify, the verify will end.
> 1.Consider add option to control whether to ignore failures block group . If
> set, will ignores failures block group during verify and continues verify all
> block groups of the file
> 2.add option support for specifying block group to verify
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]