[
https://issues.apache.org/jira/browse/HBASE-6711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13446882#comment-13446882
]
Lars Hofhansl commented on HBASE-6711:
--------------------------------------
Looks like HadoopQA is toast:
{quote}
At revision 1379915.
HBASE-6711 patch is being downloaded at Sun Sep 2 05:01:45 UTC 2012 from
http://issues.apache.org/jira/secure/attachment/12543466/6711-0.96-v1.txt
cp: cannot stat `/home/jenkins/buildSupport/lib/*': No such file or directory
{quote}
> Avoid local results copy in StoreScanner
> ----------------------------------------
>
> Key: HBASE-6711
> URL: https://issues.apache.org/jira/browse/HBASE-6711
> Project: HBase
> Issue Type: Bug
> Reporter: Lars Hofhansl
> Assignee: Lars Hofhansl
> Priority: Minor
> Fix For: 0.96.0, 0.94.2
>
> Attachments: 6711-0.96-v1.txt
>
>
> In StoreScanner the number of results is limited to avoid OOMs.
> However, this is done by first adding the KV into a local ArrayList and then
> copying the entries in this list to the final result list.
> In turns out the this temporary list is only used to keep track of the size
> of the result set in this loop. Can use a simple int instead.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira