hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Andreina (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-8577) Avoid retrying to recover lease on a file which does not exist
Date Tue, 30 Jun 2015 09:09:05 GMT

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

Updated the patch and added a testcase.
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, HDFS-8577.2.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)

Mime
View raw message