[
https://issues.apache.org/jira/browse/HBASE-10669?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13919553#comment-13919553
]
Deepak Sharma commented on HBASE-10669:
---------------------------------------
added patch please check
> [hbck tool] Usage is wrong for hbck tool for -sidelineCorruptHfiles option
> --------------------------------------------------------------------------
>
> Key: HBASE-10669
> URL: https://issues.apache.org/jira/browse/HBASE-10669
> Project: HBase
> Issue Type: Bug
> Components: hbck
> Affects Versions: 0.96.2, 0.98.1, 0.99.0, 0.96.1.1
> Reporter: Deepak Sharma
> Priority: Minor
> Fix For: 0.96.2, 0.98.1, 0.99.0, 0.96.1.1
>
> Attachments: Hbck_usage_issue.patch
>
>
> Usage is wrong for hbck tool for -sidelineCorruptHfiles option:
> it is like:
> -sidelineCorruptHfiles Quarantine corrupted HFiles. implies
> -checkCorruptHfiles
> here in "sidelineCorruptHfiles" and "checkCorruptHfiles" small 'f' is used
> but actually in code it is like
> else if (cmd.equals("-checkCorruptHFiles")) {
> checkCorruptHFiles = true;
> } else if (cmd.equals("-sidelineCorruptHFiles")) {
> sidelineCorruptHFiles = true;
> }
> so if we use sidelineCorruptHfiles option for hbck then it will give error
> Unrecognized option:-sidelineCorruptHfiles
--
This message was sent by Atlassian JIRA
(v6.2#6252)