hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Enis Soztutar (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-7766) master cannot go from 94 to 96 due to zookeeper data
Date Wed, 06 Feb 2013 21:31:13 GMT

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

Enis Soztutar commented on HBASE-7766:
--------------------------------------

AFAIR, most of the zookeeper data was already being auto-converted to the new PB stuff with
magic. If there is only this table state, then we might as well fix it. Otherwise, lets do
the migration script or wipe data in zookeeper. 
                
> master cannot go from 94 to 96 due to zookeeper data
> ----------------------------------------------------
>
>                 Key: HBASE-7766
>                 URL: https://issues.apache.org/jira/browse/HBASE-7766
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Sergey Shelukhin
>
> After running a 94 cluster and then updating it to 96, master cannot start due to the
following:
> 2013-02-04 19:59:15,494 FATAL org.apache.hadoop.hbase.master.HMaster: Unhandled exception.
Starting shutdown.
> org.apache.zookeeper.KeeperException$DataInconsistencyException: KeeperErrorCode = DataInconsistency
> at org.apache.hadoop.hbase.zookeeper.ZKUtil.convert(ZKUtil.java:1705)
> at org.apache.hadoop.hbase.zookeeper.ZKTableReadOnly.getTableState(ZKTableReadOnly.java:158)
> at org.apache.hadoop.hbase.zookeeper.ZKTable.populateTableStates(ZKTable.java:82)
> at org.apache.hadoop.hbase.zookeeper.ZKTable.<init>(ZKTable.java:69)
> at org.apache.hadoop.hbase.master.AssignmentManager.<init>(AssignmentManager.java:199)
> at org.apache.hadoop.hbase.master.HMaster.initializeZKBasedSystemTrackers(HMaster.java:550)
> at org.apache.hadoop.hbase.master.HMaster.finishInitialization(HMaster.java:671)
> at org.apache.hadoop.hbase.master.HMaster.run(HMaster.java:476)
> at java.lang.Thread.run(Thread.java:662)
> Caused by: org.apache.hadoop.hbase.DeserializationException: Missing pb magic PBUF prefix
> at org.apache.hadoop.hbase.protobuf.ProtobufUtil.expectPBMagicPrefix(ProtobufUtil.java:196)
> at org.apache.hadoop.hbase.zookeeper.ZKTableReadOnly.getTableState(ZKTableReadOnly.java:148)
> ... 7 more
> It should probably nuke the data and start as with blanks.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message