[
https://issues.apache.org/jira/browse/HBASE-17182?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15727460#comment-15727460
]
Ted Yu commented on HBASE-17182:
--------------------------------
{code}
+ public void testCleanScannerThread() throws Exception {
{code}
Rename the test method.
{code}
+ } catch (InterruptedException e) {
+ // LOG.error(e);
{code}
Restore interrupt status.
{code}
+ // ResultScanner scanner = scannerInfo.getScanner();
+ // scanner.close(); // Close will throw UnknownScannerException
{code}
You can drop the above lines.
> Memory leak from openScanner of HBase thrift2
> ---------------------------------------------
>
> Key: HBASE-17182
> URL: https://issues.apache.org/jira/browse/HBASE-17182
> Project: HBase
> Issue Type: Bug
> Components: Thrift
> Reporter: Jian Yi
> Assignee: Jian Yi
> Attachments: HBASE-17182-V1.patch, HBASE-17182-V2.patch,
> HBASE-17182-V3.patch
>
>
> Client call openScanner, but client (coredump or others) not closeScanner,
> the scanner will not be removed from scannerMap.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)