Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-10669

[hbck tool] Usage is wrong for hbck tool for -sidelineCorruptHfiles option

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.94.11, 0.96.0
    • 0.96.2, 0.98.1, 0.99.0, 0.94.18
    • hbck
    • None
    • Reviewed

    Description

      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

      Attachments

        1. Hbck_usage_issue.patch
          0.8 kB
          Deepak Sharma
        2. HBASE_10669_94.11.patch
          0.7 kB
          Deepak Sharma

        Activity

          People

            deepakhuawei Deepak Sharma
            deepakhuawei Deepak Sharma
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: