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

Add region deletion tool

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Resolved
    • Priority: Minor
    • Resolution: Duplicate
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: regionserver
    • Labels:
      None

      Description

      A region deletion tool can be very useful to remove large amount of data.
      For example, it can be used to remove all data older than specific date (assuming your data sorted by dates) etc...

      This tool should be something as follows:
      Input: region key or (even better!) start & end key.
      1. Split region to isolate the keys.
      2. Disable the relevant regions.
      3. Delete files from the file system.
      4. Update .META. table.

        Attachments

        1. online_delete.rb
          10 kB
          Daniel Einspanjer

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                ophchu Ophir Cohen
              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: