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

Nick Dimiduk commented on HBASE-9893:
-------------------------------------

Can you describe your test a little more precisely? The unit test exercises 
input case of length 7 and 8. When I run with assertions enabled, I don't get a 
failure.

> Incorrect assert condition in OrderedBytes decoding
> ---------------------------------------------------
>
>                 Key: HBASE-9893
>                 URL: https://issues.apache.org/jira/browse/HBASE-9893
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 0.96.0
>            Reporter: He Liangliang
>            Assignee: Nick Dimiduk
>            Priority: Minor
>         Attachments: HBASE-9893.patch
>
>
> The following assert condition is incorrect when decoding blob var byte array.
> {code}
>     assert t == 0 : "Unexpected bits remaining after decoding blob.";
> {code}
> When the number of bytes to decode is multiples of 8 (i.e the original number 
> of bytes is multiples of 7), this assert may fail.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to