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

rajeshbabu commented on HBASE-7766:
-----------------------------------

As part of HBASE-8348, migrating zookeeper data(of 0.92.x or 0.94.x) like table 
states, replication znodes to PB and also removing unused znodes. If migration 
is successful master from 0.96 version can start properly. Any failures user 
can retry until migration is successful.

                
> 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
>            Assignee: rajeshbabu
>
> 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

Reply via email to