[
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)