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

TestLeaseRecovery2 fails as lease hard limit is not reset to default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.22.0
    • 0.22.0, 0.23.0
    • namenode, test
    • None
    • Reviewed

    Description

      TestLeaseRecovery2.testSoftLeaseRecovery() fails as lease hard limit remains set to 1 sec from the previous test case. If initial file creation in testSoftLeaseRecovery() takes longer than 1 sec, NN correctly reassigns the lease to itself and starts recovery. The test fails as the client cannot hflush() and close the file.

      Attachments

        1. leaseRecovery2.patch
          1 kB
          Konstantin Shvachko
        2. leaseRecovery2-trunk.patch
          1 kB
          Konstantin Shvachko
        3. leaseRecovery2-trunk.patch
          1 kB
          Konstantin Shvachko
        4. leaseRecovery2-trunk.patch
          1 kB
          Konstantin Shvachko

        Activity

          People

            shv Konstantin Shvachko
            shv Konstantin Shvachko
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: