hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-4626) Filters unnecessarily copy byte arrays...
Date Fri, 21 Oct 2011 04:26:33 GMT

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

Lars Hofhansl commented on HBASE-4626:

In the widest sense this could be considered an incompatible change. WritableByteArrayComparable
is part of the public API and a client might have subclassed WritableByteArrayComparable in
order pass it to a Filter. That would break now, as the client has to implement compareTo(byte[],
int offset, int length) instead of compareTo(byte[]).

I'll hold off committing this to 0.92.

> Filters unnecessarily copy byte arrays...
> -----------------------------------------
>                 Key: HBASE-4626
>                 URL: https://issues.apache.org/jira/browse/HBASE-4626
>             Project: HBase
>          Issue Type: Bug
>          Components: regionserver
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 0.92.0, 0.94.0
>         Attachments: 4626-v2.txt, 4626-v3.txt, 4626.txt
> Just looked at SingleCol and ValueFilter... And on every column compared they create
a copy of the column and/or value portion of the KV.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


View raw message