hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kevin Odell (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10131) HBCK should be able to replace table description files
Date Wed, 11 Dec 2013 19:19:07 GMT
Kevin Odell created HBASE-10131:
-----------------------------------

             Summary: HBCK should be able to replace table description files
                 Key: HBASE-10131
                 URL: https://issues.apache.org/jira/browse/HBASE-10131
             Project: HBase
          Issue Type: Improvement
          Components: hbck
    Affects Versions: 0.94.14, 0.96.2
            Reporter: Kevin Odell


Currently hbck can rebuild .regioninfo but not table descriptions.  If that file becomes corrupt(current
working theory is an early control+c while disabling the table) then HBase cannot start up:

2013-12-10 10:28:04,299 FATAL org.apache.hadoop.hbase.master.HMaster: Unexpected state : xxxxxxx,,1386047671795.1d00a869b70a1746660081c6590d7c82.
state=PENDING_OPEN, ts=1386700084298, server=xxxxxxxx,60020,1386700012260
 .. Cannot transit it to OFFLINE.
java.lang.IllegalStateException: Unexpected state : xxxxxxx,,1386047671795.1d00a869b70a1746660081c6590d7c82.
state=PENDING_OPEN, ts=1386700084298, server=xxxxxxx,60020,1386700012260 .. Cannot transit
it to OFFLINE.
        at org.apache.hadoop.hbase.master.AssignmentManager.setOfflineInZooKeeper(AssignmentManager.java:1831)
        at org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1661)
        at org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1426)
        at org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1398)
        at org.apache.hadoop.hbase.master.AssignmentManager.assign(AssignmentManager.java:1393)
        at org.apache.hadoop.hbase.master.HMaster.assignRegion(HMaster.java:1775)
        at org.apache.hadoop.hbase.master.HMaster.assign(HMaster.java:1766)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.hbase.ipc.WritableRpcEngine$Server.call(WritableRpcEngine.java:320)
        at org.apache.hadoop.hbase.ipc.HBaseServer$Handler.run(HBaseServer.java:1428)

While trying to rebuild the table description HBCK will throw:

13/12/11 10:18:25 WARN util.HBaseFsck: Unable to read .tableinfo from hdfs://odell-demo-1.ent.cloudera.com:8020/hbase
org.apache.hadoop.hbase.TableInfoMissingException: No table descriptor file under hdfs://odell-demo-1.ent.cloudera.com:8020/hbase/data/default/test



--
This message was sent by Atlassian JIRA
(v6.1.4#6159)

Mime
View raw message