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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.90.1
    • 0.90.3
    • util
    • None
    • Reviewed
    • 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.

      Attachments

        Activity

          People

            mlimotte Marc Limotte
            mlimotte Marc Limotte
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: