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

Todd Lipcon commented on HADOOP-9212:
-------------------------------------

- the cleanup of the 'in' stream should be in a finally clause, rather than in 
the catch clause (in case there's some non-IOE thrown)
- do you need buffering on the input stream?
- Can you add a reference to this JIRA in the comment change in 
UserGroupInformation.java? Otherwise I don't think anyone will know about this 
lock cycle in a couple months when we've forgotten about this JIRA.

                
> Potential deadlock in FileSystem.Cache/IPC/UGI
> ----------------------------------------------
>
>                 Key: HADOOP-9212
>                 URL: https://issues.apache.org/jira/browse/HADOOP-9212
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: fs
>    Affects Versions: 2.0.2-alpha
>            Reporter: Tom White
>            Assignee: Tom White
>         Attachments: 1_jcarder_result_0.png, HADOOP-9212.patch
>
>
> jcarder found a cycle which could lead to a potential deadlock.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to