[ https://issues.apache.org/jira/browse/HBASE-10669?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Deepak Sharma updated HBASE-10669: ---------------------------------- Attachment: HBASE_10669_94.11.patch patch for 94.11 > [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.94.11, 0.96.0 > Reporter: Deepak Sharma > Priority: Minor > Fix For: 0.96.2, 0.98.1, 0.99.0, 0.94.18 > > Attachments: HBASE_10669_94.11.patch, 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)