hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "jiraposter@reviews.apache.org (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-5801) [hbck] Hbck should handle case where some regions have different HTD settings in .regioninfo files (0.90 specific)
Date Fri, 20 Apr 2012 22:47:35 GMT

    [ https://issues.apache.org/jira/browse/HBASE-5801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13258649#comment-13258649
] 

jiraposter@reviews.apache.org commented on HBASE-5801:
------------------------------------------------------


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/4833/
-----------------------------------------------------------

Review request for hbase and jmhsieh.


Summary
-------

Added option to fix inconsistent table descriptors:
1. sideline the current .regioninfo file
2. create a new one with HTD from HBaseAdmin (meta, first entry)
3. offline the region and wait till it assigned again


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


Diffs
-----

  src/main/java/org/apache/hadoop/hbase/util/HBaseFsck.java 50f9128 
  src/main/java/org/apache/hadoop/hbase/util/HBaseFsckRepair.java 06d2b73 
  src/test/java/org/apache/hadoop/hbase/util/TestHBaseFsck.java 103d8bf 

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


Testing
-------

TestHBaseFsck* are green. On live cluster, it does the fix as expected. 


Thanks,

Jimmy


                
> [hbck] Hbck should handle case where some regions have different HTD settings in .regioninfo
files  (0.90 specific)
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: HBASE-5801
>                 URL: https://issues.apache.org/jira/browse/HBASE-5801
>             Project: HBase
>          Issue Type: Improvement
>          Components: hbck
>    Affects Versions: 0.90.7
>            Reporter: Jonathan Hsieh
>            Assignee: Jimmy Xiang
>
> Recently, we encountered a case where some regions in a table have different HTableDescriptor
settings serialized into HDFS their HRegionInfo .regioninfo file.  hbck expects all HTDs within
a table to be the same and currently bails out in this situation.
> We need to either point out a proper set of actions for the user to execute or automatically
convert the region to a common HTD (likely the most common on, or possibly the "first one".)
> Not sure if this requires reformatting data but may require closing and restarting a
region.
> This issue is hbase 0.90.x specific -- 0.92+ keep all table info in a single .tableinfo
file.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message