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

Removing lease repeatedly when client lease reach to hard limit

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 0.21.0
    • None
    • None
    • removing lease

    Description

      Client created file at NameNode and following crashed down. It did not write any byte to HDFS. After one hour, the NameNode aware that it need to close file and reclaim lease. Here have two steps for removing related lease: 1. FSNamesystem.finalizeINodeFileUnderConstruction 2. LeaseManager.checkLeases.
      Also, it can throw exception at second step likes that:
      2011-07-20 09:05:35,019 ERROR org.apache.hadoop.hdfs.server.namenode.LeaseManager: /path/file not found in lease.paths (=[])
      2011-07-20 09:05:35,019 ERROR org.apache.hadoop.hdfs.server.namenode.LeaseManager: [Lease. Holder: DFSClient_-889656693, pendingcreates: 0] not found in sortedLeases

      Attachments

        Activity

          People

            Unassigned Unassigned
            dennyy Denny Ye
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: