You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Jimmy Xiang (JIRA)" <ji...@apache.org> on 2014/07/23 17:16:40 UTC

[jira] [Resolved] (HBASE-11565) Stale connection could stay for a while

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

Jimmy Xiang resolved HBASE-11565.
---------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.0
                   0.94.22
                   0.98.5
                   0.96.3
                   0.99.0
     Hadoop Flags: Reviewed

Thanks. Integrated into branch 0.94 and up

> Stale connection could stay for a while
> ---------------------------------------
>
>                 Key: HBASE-11565
>                 URL: https://issues.apache.org/jira/browse/HBASE-11565
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>            Reporter: Jimmy Xiang
>            Assignee: Jimmy Xiang
>             Fix For: 0.99.0, 0.96.3, 0.98.5, 0.94.22, 2.0.0
>
>         Attachments: hbase-11565-0.98.patch, hbase-11565-v1.patch
>
>
> In RpcClient, we cache the connection to each region server. When the connection goes bad, it stays in the cache till it's removed. Before it's removed, new calls will try to use it and just fail. The connection is a thread. It could be stuck in trying to receive some response. Before this receiving thread times out, it won't remove itself from the cache.
> It will be better to interrupt the receiving thread and let it clean up sooner.



--
This message was sent by Atlassian JIRA
(v6.2#6252)