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

HFilePrettyPrinter can interpret recovered.edits files as storefiles

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 0.98.4, 2.0.0
    • Fix Version/s: None
    • Component/s: HFile
    • Labels:
      None

      Description

      When running with -r option to scan a region, output looks like:

      Number of region files found -> 3
      Found file[1] -> hdfs://u1401.ambari.apache.org:8020/apps/hbase/data/data/default/TestTable/8fdee4924ac36e3f3fa430a68b403889/info/2776e9a4eb1141b299d99c00c9df6ec9
      Found file[2] -> hdfs://u1401.ambari.apache.org:8020/apps/hbase/data/data/default/TestTable/8fdee4924ac36e3f3fa430a68b403889/info/6c815a2e91ed4c4c85bea1903d982ef7
      Found file[3] -> hdfs://u1401.ambari.apache.org:8020/apps/hbase/data/data/default/TestTable/8fdee4924ac36e3f3fa430a68b403889/recovered.edits/6765_seqid

      and then fails, as there's empty rec-edit file which doesn't pass validation.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mantonov Mikhail Antonov
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: