hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deepak Sharma (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10669) [hbck tool] Usage is wrong for hbck tool for -sidelineCorruptHfiles option
Date Tue, 04 Mar 2014 16:03:20 GMT
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)

Mime
View raw message