You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jonathan Lawlor (JIRA)" <ji...@apache.org> on 2015/04/08 01:37:13 UTC

[jira] [Updated] (HBASE-13421) Reduce the number of object creations introduced by HBASE-11544 in scan RPC hot code paths

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

Jonathan Lawlor updated HBASE-13421:
------------------------------------
    Attachment: HBASE-11544-addendum-v3.patch

Attaching latest patch that incorporates latest feedback from reviewboard. Let's see what QA has to say

> Reduce the number of object creations introduced by HBASE-11544 in scan RPC hot code paths
> ------------------------------------------------------------------------------------------
>
>                 Key: HBASE-13421
>                 URL: https://issues.apache.org/jira/browse/HBASE-13421
>             Project: HBase
>          Issue Type: Sub-task
>            Reporter: Jonathan Lawlor
>            Assignee: Jonathan Lawlor
>             Fix For: 2.0.0, 1.1.0
>
>         Attachments: HBASE-11544-addendum-v3.patch
>
>
> HBASE-11544 made NextState the new return type of RegionScanner#nextRaw InternalScanner#next to allow state information to be passed back from a scanner (it was formerly a boolean indicating whether or not more values existed). The change in this return type led to an increased amount of objects being created... In the case that a scan spanned millions of rows, there was the potential for millions of object to be created.
> This issue looks to reduce the large amount of object creations from potentially many to at most one per RPC request. 
> Please see the tail of the parent issue for relevant discussion on the design decisions related to this solution. This sub-task has been filed as it seems more appropriate to address the fix here rather than as an addendum to the parent.



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