[ https://issues.apache.org/jira/browse/HDFS-12754?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kuhu Shukla updated HDFS-12754: ------------------------------- Attachment: HDFS-12754.002.patch Thank you for the comments [~yangjiandan]. I do an additional remove call for the LeaseRenewer in the case of socket time out, which makes it so that a later get() call will return a new renewer instance for a dfsclient. Also the patch adds your test for completeness. > Lease renewal can hit a deadlock > --------------------------------- > > Key: HDFS-12754 > URL: https://issues.apache.org/jira/browse/HDFS-12754 > Project: Hadoop HDFS > Issue Type: Bug > Affects Versions: 2.8.1 > Reporter: Kuhu Shukla > Assignee: Kuhu Shukla > Priority: Major > Attachments: HDFS-12754.001.patch, HDFS-12754.002.patch > > > The Client and the renewer can hit a deadlock during close operation since > closeFile() reaches back to the DFSClient#removeFileBeingWritten. This is > possible if the client class close when the renewer is renewing a lease. -- This message was sent by Atlassian JIRA (v6.4.14#64029) --------------------------------------------------------------------- To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org