HBase
  1. HBase
  2. HBASE-4009

Script to patch holes in .META. table

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Trivial Trivial
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: shell
    • Labels:
      None
    • Environment:

      CDH3U0

      Description

      I need a script to patch holes in the .META. table, which was corrupted by earlier issue on the cluster.

      1. patch_meta.rb
        5 kB
        Lars George
      2. add_empty_region.rb
        4 kB
        Lars George

        Issue Links

          Activity

          Hide
          Jonathan Hsieh added a comment -

          The functionality of this script has been subsumed by hbck in 0.92.1, 0.94.0, trunk and will be in 0.90.7.

          Show
          Jonathan Hsieh added a comment - The functionality of this script has been subsumed by hbck in 0.92.1, 0.94.0, trunk and will be in 0.90.7.
          Hide
          Lars Hofhansl added a comment -

          These features are in HBCK now, right?

          Show
          Lars Hofhansl added a comment - These features are in HBCK now, right?
          Hide
          Lars George added a comment -

          Big +1, this issue here is only to be able to share those scripts until we have this all covered in hbck. Should we close it anyways as won't fix?

          Show
          Lars George added a comment - Big +1, this issue here is only to be able to share those scripts until we have this all covered in hbck. Should we close it anyways as won't fix?
          Hide
          Todd Lipcon added a comment -

          I don't htink we should be committing any more rb scripts like this to the source code - they just get people into trouble, fall out of date, etc. Instead this should be an hbck feature that automatically patches holes in a table if requested

          Show
          Todd Lipcon added a comment - I don't htink we should be committing any more rb scripts like this to the source code - they just get people into trouble, fall out of date, etc. Instead this should be an hbck feature that automatically patches holes in a table if requested
          Hide
          Lars George added a comment -

          Adds an empty region at a given start and end key.

          Show
          Lars George added a comment - Adds an empty region at a given start and end key.
          Hide
          Lars George added a comment -

          This script is based on check_meta.rb, but instead of "mounting" existing region directories where the holes are, it simply creates an empty region spanning the hole.

          Show
          Lars George added a comment - This script is based on check_meta.rb, but instead of "mounting" existing region directories where the holes are, it simply creates an empty region spanning the hole.

            People

            • Assignee:
              Jonathan Hsieh
              Reporter:
              Lars George
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development