You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Duo Zhang (JIRA)" <ji...@apache.org> on 2016/03/21 11:55:25 UTC
[jira] [Updated] (HBASE-15495) Connection leak in
FanOutOneBlockAsyncDFSOutputHelper
[ https://issues.apache.org/jira/browse/HBASE-15495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Duo Zhang updated HBASE-15495:
------------------------------
Attachment: HBASE-15495.patch
It is not easy to test this problem because we do not have the reference of client side connection if connect failed. And datanode will close the connection when we call recoverFileLease. But you can find something in log that with old implementation, the datanode connection is closed when doing recoverFileLease, and with this patch, the datanode connection is closed because of EOF which means the connection is closed by remote side.
Anyway, I added a testcase to cover the connect failed condition.
> Connection leak in FanOutOneBlockAsyncDFSOutputHelper
> -----------------------------------------------------
>
> Key: HBASE-15495
> URL: https://issues.apache.org/jira/browse/HBASE-15495
> Project: HBase
> Issue Type: Sub-task
> Reporter: Duo Zhang
> Assignee: Duo Zhang
> Attachments: HBASE-15495.patch
>
>
> Happens when connecting to datanode failed.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)