[
https://issues.apache.org/jira/browse/HDFS-8577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
J.Andreina updated HDFS-8577:
-----------------------------
Attachment: HDFS-8577.1.patch
Attaching an initial patch.
Please review.
> Avoid retrying to recover lease on a file which does not exist
> --------------------------------------------------------------
>
> Key: HDFS-8577
> URL: https://issues.apache.org/jira/browse/HDFS-8577
> Project: Hadoop HDFS
> Issue Type: Bug
> Reporter: J.Andreina
> Assignee: J.Andreina
> Attachments: HDFS-8577.1.patch
>
>
> 1. Avoid retrying to recover lease on a file which does not exist
> {noformat}
> recoverLease got exception:
> java.io.FileNotFoundException: File does not exist: /hello_hi
> at
> org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:71)
> Retrying in 5000 ms...
> Retry #1
> recoverLease got exception:
> java.io.FileNotFoundException: File does not exist: /hello_hi
> at
> org.apache.hadoop.hdfs.server.namenode.INodeFile.valueOf(INodeFile.java:71)
> {noformat}
> 2. Avoid populating huge stack trace for each retry for recovering lease on a
> file , being displayed on CLI .
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)