hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ramkrishna.s.vasudevan (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-10972) OOBE in prefix key encoding
Date Tue, 15 Apr 2014 05:08:15 GMT

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

ramkrishna.s.vasudevan commented on HBASE-10972:
------------------------------------------------

JFYI.  The issue is not with Prefix Key, but with the test.  Even other algos DIFF, FAST_DIFF
would fail here.  The thing is test fails even before those algos are run.

> OOBE in prefix key encoding
> ---------------------------
>
>                 Key: HBASE-10972
>                 URL: https://issues.apache.org/jira/browse/HBASE-10972
>             Project: HBase
>          Issue Type: Sub-task
>          Components: Scanners
>    Affects Versions: 0.98.1
>            Reporter: Andrew Purtell
>            Assignee: ramkrishna.s.vasudevan
>             Fix For: 0.99.0, 0.98.2
>
>         Attachments: 10936-0.98.txt, HBASE-10972.patch
>
>
> From HBASE-10936.
> {noformat}
> testZeroByte[1](org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders)  Time elapsed:
0.008 sec  <<< ERROR!
> java.lang.IndexOutOfBoundsException
>         at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:138)
>         at java.io.DataOutputStream.write(DataOutputStream.java:107)
>         at org.apache.hadoop.hbase.util.ByteBufferUtils.copyBufferToStream(ByteBufferUtils.java:163)
>         at org.apache.hadoop.hbase.util.ByteBufferUtils.moveBufferToStream(ByteBufferUtils.java:147)
>         at org.apache.hadoop.hbase.io.encoding.PrefixKeyDeltaEncoder.addKV(PrefixKeyDeltaEncoder.java:70)
>         at org.apache.hadoop.hbase.io.encoding.PrefixKeyDeltaEncoder.internalEncodeKeyValues(PrefixKeyDeltaEncoder.java:87)
>         at org.apache.hadoop.hbase.io.encoding.BufferedDataBlockEncoder.encodeKeyValues(BufferedDataBlockEncoder.java:591)
>         at org.apache.hadoop.hbase.io.encoding.PrefixKeyDeltaEncoder.encodeKeyValues(PrefixKeyDeltaEncoder.java:44)
>         at org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders.encodeBytes(TestDataBlockEncoders.java:100)
>         at org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders.testAlgorithm(TestDataBlockEncoders.java:112)
>         at org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders.testEncodersOnDataset(TestDataBlockEncoders.java:423)
>         at org.apache.hadoop.hbase.io.encoding.TestDataBlockEncoders.testZeroByte(TestDataBlockEncoders.java:208)
> {noformat}
> See attached test case.



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

Mime
View raw message