hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Elliott Clark (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-7647) 0.94 hfiles v2.1 are not backwards compatible with HFilev2.0
Date Wed, 23 Jan 2013 01:21:11 GMT

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

Elliott Clark updated HBASE-7647:

    Attachment: HBASE-7647-1.patch

Here's first cut at this.  There are tests and all tests are geen locally.  I'm doing a full
test run now.
> 0.94 hfiles v2.1 are not backwards compatible with HFilev2.0
> ------------------------------------------------------------
>                 Key: HBASE-7647
>                 URL: https://issues.apache.org/jira/browse/HBASE-7647
>             Project: HBase
>          Issue Type: Bug
>          Components: HFile
>    Affects Versions: 0.94.4
>            Reporter: Elliott Clark
>            Assignee: Elliott Clark
>         Attachments: HBASE-7647-1.patch
> When doing a rolling re-start from 0.92.x to 0.94.x any hfiles written by 0.94 are incompatibile
with any of the 0.92 region servers.  This is caused by the checksums being put into 0.94.
> * a minor version was added
> * checksums were put into the block
> * checksum meta data was added to block headers.
> I propose that since these changes are only needed if using hbase.regionserver.checksum.verify,
they should be turned off if that option is turned off.  Doing so will allow rolling upgrades
to go smoother.
> If a user wants to go from a 0.92 cluster to a 0.94 cluster with hbase.regionserver.checksum.verify
they can:
> * Roll out 0.94
> * Change hbase-site.xml
> * roll restart the region servers.

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

View raw message