Uploaded image for project: 'Hadoop HDFS'
  1. Hadoop HDFS
  2. HDFS-8577

Avoid retrying to recover lease on a file which does not exist

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Reviewed

      Description

      1. Avoid retrying to recover lease on a file which does not exist

      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)
      
      

      2. Avoid populating huge stack trace for each retry for recovering lease on a file , being displayed on CLI .

        Attachments

        1. HDFS-8577.1.patch
          2 kB
          J.Andreina
        2. HDFS-8577.2.patch
          3 kB
          J.Andreina

          Activity

            People

            • Assignee:
              andreina J.Andreina
              Reporter:
              andreina J.Andreina
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: