hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anoop Sam John (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10321) CellCodec has broken the 96 client to 98 server compatibility
Date Sun, 12 Jan 2014 06:48:00 GMT
Anoop Sam John created HBASE-10321:
--------------------------------------

             Summary: CellCodec has broken the 96 client to 98 server compatibility
                 Key: HBASE-10321
                 URL: https://issues.apache.org/jira/browse/HBASE-10321
             Project: HBase
          Issue Type: Bug
    Affects Versions: 0.98.0
            Reporter: Anoop Sam John
            Assignee: Anoop Sam John
            Priority: Critical
             Fix For: 0.98.0, 0.99.0


The write/read tags added in CellCodec has broken the 96 client to 98 server compatibility
(and 98 client to 96 server)
When 96 client CellCodec writes cell, it wont write tags part at all. But the server expects
a tag part, at least a 0 tag length. This tag length read will make a read of some bytes from
next cell!

I suggest we can remove the tag part from CellCodec. This codec is not used by default and
I don't think some one will change to CellCodec from the default KVCodec now. .. Still I feel
we can solve it.

This makes tags not supported via CellCodec..Tag support can be added to CellCodec once we
have Connection negotiation in place (?)




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message