You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Hudson (JIRA)" <ji...@apache.org> on 2013/02/05 05:02:32 UTC

[jira] [Commented] (HBASE-7647) 0.94 hfiles v2.1 are not backwards compatible with HFilev2.0

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

Hudson commented on HBASE-7647:
-------------------------------

Integrated in HBase-0.94-security-on-Hadoop-23 #11 (See [https://builds.apache.org/job/HBase-0.94-security-on-Hadoop-23/11/])
    HBASE-7647 0.94 hfiles v2.1 are not backwards compatible with HFilev2.0 (Revision 1438175)

     Result = FAILURE
eclark : 
Files : 
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileBlock.java
* /hbase/branches/0.94/src/main/java/org/apache/hadoop/hbase/io/hfile/HFileWriterV2.java
* /hbase/branches/0.94/src/main/resources/hbase-default.xml
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/io/hfile/CacheTestUtils.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/io/hfile/TestChecksum.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlock.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlockCompatibility.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileBlockIndex.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileDataBlockEncoder.java
* /hbase/branches/0.94/src/test/java/org/apache/hadoop/hbase/io/hfile/TestHFileWriterV2.java

                
> 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
>             Fix For: 0.94.5
>
>         Attachments: HBASE-7647-2.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