[
https://issues.apache.org/jira/browse/HDFS-4495?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kihwal Lee updated HDFS-4495:
-----------------------------
Fix Version/s: 2.0.4-beta
0.23.7
I've committed this to trunk, branch-2 and branch-0.23.
> Allow client-side lease renewal to be retried beyond soft-limit
> ---------------------------------------------------------------
>
> Key: HDFS-4495
> URL: https://issues.apache.org/jira/browse/HDFS-4495
> Project: Hadoop HDFS
> Issue Type: Bug
> Components: hdfs-client
> Affects Versions: 2.0.3-alpha, 0.23.5
> Reporter: Kihwal Lee
> Assignee: Kihwal Lee
> Fix For: 0.23.7, 2.0.4-beta
>
> Attachments: hdfs-4495.b023.patch, hdfs-4495.patch, hdfs-4495.patch
>
>
> The current lease renewal code in DFSClient gives up after several retries,
> if the soft limit exceeds. This causes the client to abort. Without this
> self destruction behavior, lease renewal can be retried infinitely due to
> unrelated low-level issue and prevent DFSClient and associated Connection
> from getting garbage collected.
> However, giving up at passage of the soft limit has been shown to be too
> fragile; A long GC on namenode or transient network outage can make clients
> fail. We need the self-destruct behavior, but clients should be allowed to
> retry for longer period of time.
--
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