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

Duo Zhang resolved HBASE-26629.
-------------------------------
    Fix Version/s: 2.5.0
                   3.0.0-alpha-3
                   2.4.10
     Hadoop Flags: Reviewed
       Resolution: Fixed

Pushed to branch-2.4+.

Thanks [~xytss123] for contributing!

> Add expiration for long time vacant scanners in Thrift2
> -------------------------------------------------------
>
>                 Key: HBASE-26629
>                 URL: https://issues.apache.org/jira/browse/HBASE-26629
>             Project: HBase
>          Issue Type: Improvement
>          Components: Performance, Thrift
>            Reporter: Yutong Xiao
>            Assignee: Yutong Xiao
>            Priority: Major
>             Fix For: 2.5.0, 3.0.0-alpha-3, 2.4.10
>
>
> In thrift1 implementation, the ThriftHBaseSerivceHandler holds a Cache with 
> an expire time after access. This will make the long time vacant scanners be 
> collected by gc. However, in thrift2 we do not have this feature and only use 
> a map to store scanners and we need the client close the scanner manually. If 
> not, the expired scanners will live in memory forever. In this case, I 
> applied the cache expiration to thrift2 service.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to