You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Purtell (JIRA)" <ji...@apache.org> on 2019/02/01 20:11:01 UTC

[jira] [Updated] (HBASE-21007) Memory leak in HBase rest server

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

Andrew Purtell updated HBASE-21007:
-----------------------------------
    Fix Version/s:     (was: 1.5.0)

> Memory leak in HBase rest server
> --------------------------------
>
>                 Key: HBASE-21007
>                 URL: https://issues.apache.org/jira/browse/HBASE-21007
>             Project: HBase
>          Issue Type: Bug
>          Components: REST
>    Affects Versions: 1.4.0, 1.4.6
>            Reporter: Bosko Devetak
>            Assignee: Bosko Devetak
>            Priority: Critical
>             Fix For: 3.0.0, 1.3.3, 2.2.0, 1.2.7, 2.1.1, 2.0.2, 1.4.7
>
>         Attachments: HBASE-21007.001.patch, HBASE-21007.002.patch
>
>
> When using the URIs like this:
>  
>           /sometable/*?limit=$limit&startrow=$startrow&endrow=$endrow
>  
> where *$limit* is smaller than the range between *$startrow* and *$endrow*, the rest server will start leaking memory.
>  
>  
> The bug is in the *TableScanResource.java* class. Basically, the ResultScanner is not being closed in next() method when the limit has been reached.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)