HBase
  1. HBase
  2. HBASE-4991

Provide capability to delete named region

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      See discussion titled 'Able to control routing to Solr shards or not' on lily-discuss
      User may want to quickly dispose of out of date records by deleting specific regions.

      1. HBASE-4991.trunk.v1.patch
        100 kB
        Mubarak Seyed
      2. HBASE-4991.trunk.v2.patch
        100 kB
        Ted Yu

        Issue Links

          Activity

          Ted Yu created issue -
          Ted Yu made changes -
          Field Original Value New Value
          Assignee Mubarak Seyed [ mubarakseyed ]
          Ted Yu made changes -
          Fix Version/s 0.94.0 [ 12316419 ]
          Mubarak Seyed made changes -
          Attachment HBASE-4991.trunk.v1.patch [ 12514612 ]
          Ted Yu made changes -
          Comment [
          -----------------------------------------------------------
          This is an automatically generated e-mail. To reply, visit:
          https://reviews.apache.org/r/3909/
          -----------------------------------------------------------

          Review request for hbase.


          Summary
          -------

          Code review request for HBASE-4991 (Provide capability to delete named region).


          This addresses bug HBASE-4991.
              https://issues.apache.org/jira/browse/HBASE-4991


          Diffs
          -----

            /src/main/java/org/apache/hadoop/hbase/catalog/MetaEditor.java 1236386
            /src/main/java/org/apache/hadoop/hbase/client/HBaseAdmin.java 1236386
            /src/main/java/org/apache/hadoop/hbase/ipc/HMasterInterface.java 1236386
            /src/main/java/org/apache/hadoop/hbase/ipc/HRegionInterface.java 1236386
            /src/main/java/org/apache/hadoop/hbase/master/HMaster.java 1236386
            /src/main/java/org/apache/hadoop/hbase/master/MasterServices.java 1236386
            /src/main/java/org/apache/hadoop/hbase/master/handler/DeleteRegionHandler.java PRE-CREATION
            /src/main/java/org/apache/hadoop/hbase/regionserver/HRegion.java 1236386
            /src/main/java/org/apache/hadoop/hbase/regionserver/HRegionServer.java 1236386
            /src/main/java/org/apache/hadoop/hbase/regionserver/OnlineRegions.java 1236386
            /src/main/java/org/apache/hadoop/hbase/zookeeper/MasterDeleteRegionTracker.java PRE-CREATION
            /src/main/java/org/apache/hadoop/hbase/zookeeper/RegionServerDeleteRegionTracker.java PRE-CREATION
            /src/main/java/org/apache/hadoop/hbase/zookeeper/ZooKeeperWatcher.java 1241350
            /src/main/ruby/hbase/admin.rb 1236386
            /src/main/ruby/shell.rb 1236386
            /src/main/ruby/shell/commands/delete_region.rb PRE-CREATION
            /src/test/java/org/apache/hadoop/hbase/HBaseTestingUtility.java 1236386
            /src/test/java/org/apache/hadoop/hbase/client/TestDeleteRegion.java PRE-CREATION
            /src/test/java/org/apache/hadoop/hbase/master/TestCatalogJanitor.java 1236386
            /src/test/java/org/apache/hadoop/hbase/util/MockRegionServerServices.java 1236386

          Diff: https://reviews.apache.org/r/3909/diff


          Testing
          -------

          Unit tests are passed. Tested in 5 node dev cluster.

          Test case: src/test/java/org/apache/hadoop/hbase/client/TestDeleteRegion.java


          Thanks,

          Mubarak

          ]
          Ted Yu made changes -
          Comment [ The attached file is a patch.
          Code review request at https://reviews.apache.org/r/3909/ ]
          Ted Yu made changes -
          Attachment HBASE-4991.trunk.v2.patch [ 12514800 ]
          Ted Yu made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Mubarak Seyed made changes -
          Link This issue relates to HBASE-5487 [ HBASE-5487 ]
          Ted Yu made changes -
          Link This issue is related to HBASE-1621 [ HBASE-1621 ]
          Lars Hofhansl made changes -
          Fix Version/s 0.96.0 [ 12320040 ]
          Fix Version/s 0.94.0 [ 12316419 ]
          Lars Hofhansl made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Resolution Won't Fix [ 2 ]
          stack made changes -
          Fix Version/s 0.95.0 [ 12324094 ]
          Fix Version/s 0.96.0 [ 12320040 ]
          Lars Hofhansl made changes -
          Fix Version/s 0.94.0 [ 12316419 ]
          Lars Hofhansl made changes -
          Fix Version/s 0.94.0 [ 12316419 ]
          stack made changes -
          Fix Version/s 0.95.0 [ 12324094 ]

            People

            • Assignee:
              Mubarak Seyed
              Reporter:
              Ted Yu
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development