hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-16691) Optimize KeyOnlyFilter by utilizing KeyOnlyCell
Date Tue, 27 Sep 2016 10:23:20 GMT

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

Ted Yu commented on HBASE-16691:
--------------------------------

The following test failure from https://builds.apache.org/job/PreCommit-HBASE-Build/3729/artifact/patchprocess/patch-unit-hbase-server.txt
might be related to the patch:
{code}
testKeyOnlyFilter(org.apache.hadoop.hbase.filter.TestFilter)  Time elapsed: 0.025 sec  <<<
ERROR!
java.lang.ArrayStoreException: null
	at java.util.ArrayList.toArray(ArrayList.java:408)
	at org.apache.hadoop.hbase.filter.TestFilter.verifyScan(TestFilter.java:1663)
	at org.apache.hadoop.hbase.filter.TestFilter.testKeyOnlyFilter(TestFilter.java:2012)
{code}
Please investigate.

> Optimize KeyOnlyFilter by utilizing KeyOnlyCell
> -----------------------------------------------
>
>                 Key: HBASE-16691
>                 URL: https://issues.apache.org/jira/browse/HBASE-16691
>             Project: HBase
>          Issue Type: Improvement
>            Reporter: binlijin
>            Assignee: binlijin
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-16691-master.patch
>
>
> In KeyOnlyFilter#transformCell will return a KeyOnlyCell that have no value or has valueLength
as value, current will copy all row keys into a new byte[] and new a KeyValue, we can eliminate
the copy and have a wrap KeyOnlyCell that ignore the cell's value.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message