HBase
  1. HBase
  2. HBASE-3695

Some improvements to Hbck to test the entire region chain in Meta and provide better error reporting

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 0.90.1
    • Fix Version/s: 0.90.3
    • Component/s: util
    • Labels:
      None
    • Hadoop Flags:
      Reviewed
    • Tags:
      hbck meta

      Description

      The current Hbck tool will miss some inconsistencies in Meta, and in other cases will detect an issue, but does not provide much in the way of useful feedback.

      • Incorporate the full region chain tests (similar to check_meta.rb). I.e. look for overlaps, holes and cycles. I believe check_meta.rb will be redundant after this change.
      • More unit tests, and better tests that will test the actual error discovered, instead of just errors true/false.
      • In the case of overlaps and holes, output both ends of the broken chain.
      • Previous implementation runs check() twice. This is inefficient and, more importantly, reports redundant errors which could be confusing to the user.

        Activity

          People

          • Assignee:
            Marc Limotte
            Reporter:
            Marc Limotte
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development