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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 2.8.0, 3.0.0-alpha1
    • None
    • None
    • 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.2.patch
          3 kB
          J.Andreina
        2. HDFS-8577.1.patch
          2 kB
          J.Andreina

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: