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

Raghu Angadi updated HADOOP-4552:
---------------------------------

    Attachment: deadlock-example.txt

The thread stack that Aaron sent. Note that "Thread 9" and "Thread 37" block 
each other.

Regd locking on Selectors, please read the small section "Concurrency" on Java 
doc for Selectors : 
http://java.sun.com/javase/6/docs/api/java/nio/channels/Selector.html


> Deadlock in RPC Server
> ----------------------
>
>                 Key: HADOOP-4552
>                 URL: https://issues.apache.org/jira/browse/HADOOP-4552
>             Project: Hadoop Core
>          Issue Type: Bug
>          Components: ipc
>    Affects Versions: 0.16.3
>            Reporter: Raghu Angadi
>            Assignee: Raghu Angadi
>             Fix For: 0.19.1, 0.20.0
>
>         Attachments: deadlock-example.txt, HADOOP-4552.patch
>
>
> RPC server could get into a deadlock especially when clients or server are 
> network starved. This is a deadlock between RPC responder thread trying to 
> check if there are any connection to be purged and RPC handler trying to 
> queue a response to be written by the responder.
> This was first observed [this 
> thread|http://www.nabble.com/TaskTrackers-disengaging-from-JobTracker-to20234317.html].
>  

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to