[
https://issues.apache.org/jira/browse/HBASE-16062?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15337467#comment-15337467
]
Vladimir Rodionov commented on HBASE-16062:
-------------------------------------------
{quote}
What if stream.close() throws exception ?
{quote}
I think reader.close() will throw as well. If you want I can add try ... catch
inside catch, [[email protected]].
> Improper error handling in WAL Reader/Writer creation
> -----------------------------------------------------
>
> Key: HBASE-16062
> URL: https://issues.apache.org/jira/browse/HBASE-16062
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0
> Reporter: Vladimir Rodionov
> Assignee: Vladimir Rodionov
> Fix For: 2.0.0
>
> Attachments: HBASE-16062-v1.patch
>
>
> If creation of WAL reader/ writer fails for some reason RS may leak hanging
> socket in CLOSE_WAIT state.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)