hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HBASE-10936) Port zeroByte encoding from parent.
Date Tue, 08 Apr 2014 18:05:16 GMT

     [ https://issues.apache.org/jira/browse/HBASE-10936?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lars Hofhansl updated HBASE-10936:
----------------------------------

    Attachment: 10936-trunk.txt
                10936-0.98.txt

Interestingly the test passes on 0.94 and 0.96, but *fails* on 0.98 and trunk.
It's possibly related to test itself.
Anyway, attaching the 0.98 and trunk tests here.

Failure:
{code}
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)
{code}

Don't have time to look right now. Might do in a bit.

> Port zeroByte encoding from parent.
> -----------------------------------
>
>                 Key: HBASE-10936
>                 URL: https://issues.apache.org/jira/browse/HBASE-10936
>             Project: HBase
>          Issue Type: Sub-task
>          Components: test
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>            Priority: Minor
>             Fix For: 0.99.0, 0.94.19, 0.98.2, 0.96.3
>
>         Attachments: 10936-0.94.txt, 10936-0.96.txt, 10936-0.98.txt, 10936-trunk.txt
>
>




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

Mime
View raw message