hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kuhu Shukla (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-12754) Lease renewal can hit a deadlock
Date Wed, 08 Nov 2017 22:01:05 GMT

     [ 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.004.patch

v4 patch that makes a change to how the test sets the grace period. This way we don't have
to set the grace period for any possible new objects of lease renewer returned by getLeaseRenewer.

> 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
>         Attachments: HDFS-12754.001.patch, HDFS-12754.002.patch, HDFS-12754.003.patch,
HDFS-12754.004.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-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message