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

[jira] [Created] (HBASE-11248) KeyOnlyKeyValue#toString() passes wrong offset to keyToString()

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)