hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HBASE-14449) Rewrite deadlock prevention for concurrent connection close
Date Fri, 18 Sep 2015 23:56:04 GMT

    [ https://issues.apache.org/jira/browse/HBASE-14449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14876718#comment-14876718
] 

Hudson commented on HBASE-14449:
--------------------------------

FAILURE: Integrated in HBase-1.0 #1054 (See [https://builds.apache.org/job/HBase-1.0/1054/])
HBASE-14449 Rewrite deadlock prevention for concurrent connection close (tedyu: rev 8fa6d4261dfd542b43a39a8ae71d031fee61966e)
* hbase-client/src/main/java/org/apache/hadoop/hbase/ipc/RpcClientImpl.java


> Rewrite deadlock prevention for concurrent connection close
> -----------------------------------------------------------
>
>                 Key: HBASE-14449
>                 URL: https://issues.apache.org/jira/browse/HBASE-14449
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Ted Yu
>            Assignee: Ted Yu
>             Fix For: 2.0.0, 1.2.0, 1.3.0, 1.0.3, 1.1.3
>
>         Attachments: 14449-branch-1.0.txt, 14449-v1.txt
>
>
> The deadlock prevention approach used in HBASE-14241 introduces unnecessary logic which
is not intuitive.
> Depending on the value for config hbase.ipc.client.specificThreadForWriting , there may
or may not be CallSender threads running.
> The attached patch simplifies deadlock prevention by using a Set which represents the
Connections to be closed. Outside the synchronized (connections) block, this Set is iterated
where the Connections are closed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message