You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "Deepak Sharma (JIRA)" <ji...@apache.org> on 2014/03/04 17:03:20 UTC

[jira] [Created] (HBASE-10669) [hbck tool] Usage is wrong for hbck tool for -sidelineCorruptHfiles option

Deepak Sharma created HBASE-10669:
-------------------------------------

             Summary: [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.1.1, 0.96.2, 0.98.1, 0.99.0
            Reporter: Deepak Sharma
            Priority: Minor
             Fix For: 0.96.2, 0.98.1, 0.99.0, 0.96.1.1


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)