You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Lars Hofhansl (JIRA)" <ji...@apache.org> on 2014/09/24 09:20:35 UTC

[jira] [Comment Edited] (HBASE-12077) FilterLists create many ArrayList$Itr objects per row.

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

Lars Hofhansl edited comment on HBASE-12077 at 9/24/14 7:20 AM:
----------------------------------------------------------------

Confirmed in a run with Phoenix that this brings down the creation of Itr objects by 90% during certain scans that happen to create a FilterList.
[~giacomotaylor], [~apurtell]


was (Author: lhofhansl):
Confirmed in a run with Phoenix that this brings down the creation of Itr objects by 90% during certain scans that happen to create a FilteredList.
[~giacomotaylor], [~apurtell]

> FilterLists create many ArrayList$Itr objects per row.
> ------------------------------------------------------
>
>                 Key: HBASE-12077
>                 URL: https://issues.apache.org/jira/browse/HBASE-12077
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Lars Hofhansl
>            Assignee: Lars Hofhansl
>             Fix For: 2.0.0, 0.98.7, 0.94.24, 0.99.1
>
>         Attachments: 12077-0.98.txt, HBASE-12077.patch
>
>
> Almost all methods in FilterList do work on behalf of the passed list of filters, which - you guessed it - is always an ArrayList and we always iterate over those with an iterator. Multiple of these methods are called for each row leading to creating about 10 Itrs for every single row touched (whether filtered or not)



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