hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-11248) KeyOnlyKeyValue#toString() passes wrong offset to keyToString()
Date Sun, 25 May 2014 00:21:01 GMT
Ted Yu created HBASE-11248:
------------------------------

             Summary: KeyOnlyKeyValue#toString() passes wrong offset to keyToString()
                 Key: HBASE-11248
                 URL: https://issues.apache.org/jira/browse/HBASE-11248
             Project: HBase
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


When debugging for HBASE-11234, I found that debugger encountered exception displaying the
string value of KeyOnlyKeyValue.

It turns out that KeyOnlyKeyValue#toString() passes wrong offset to keyToString(): ROW_OFFSET
should not be used.
Another bug is that getValueLength() shouldn't be called - it throws IllegalArgumentException.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message