You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "stack (JIRA)" <ji...@apache.org> on 2008/02/29 23:45:52 UTC

[jira] Updated: (HBASE-480) Tool to manually merge two regions

     [ https://issues.apache.org/jira/browse/HBASE-480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

stack updated HBASE-480:
------------------------

    Attachment: merge.patch

HBASE-480 Tool to manually merge two regions
M  src/java/org/apache/hadoop/hbase/HMerge.java
   (main) Added.  Made this class implement Tool interface
   so can source alternate configuration.
   (merge): Made it protected instead of private so can
   call it explicitly from subclass that does a different
   'process' implementation.  Added a 'force' flag that
   overrides the "won't merge if makes a too-big region"
   check.
   (getMetaRow): Added.  Add protection against null
   HRegionInfo seen commonly in the past.
   (checkOffLine): Added.  Usually merge will not work
   if table is online but offlining is not working
   reliably and shouldn't get in the way of this tool
   working anyways.  Let subclasses choose whether this
   is necessary or not.
M  src/java/org/apache/hadoop/hbase/hql/DisableCommand.java
    Just some clean up and added a main so can invoke this
    class w/o having to go via hql

> Tool to manually merge two regions
> ----------------------------------
>
>                 Key: HBASE-480
>                 URL: https://issues.apache.org/jira/browse/HBASE-480
>             Project: Hadoop HBase
>          Issue Type: Bug
>            Reporter: stack
>            Priority: Minor
>         Attachments: merge.patch
>
>
> hbase-471 needs a tool to merge two regions that have same start key.  This tool may be of use elsewhere making repairs.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.