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

Add a new test for lease expiry on hard limit

    XMLWordPrintableJSON

Details

    • Test
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.21.0, 0.22.0
    • None
    • None
    • None

    Description

      The following lease recovery test case seems missing:

      1. create a file, write some bytes but not close it.
      2. let hard lease expire
      3. append to the file right after NN lease recovery starts but before it ends; keep retrying.
        • Expecting a RecoveryInProgressException in the first few append calls and succeed as soon as the lease recovery is done.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              szetszwo Tsz-wo Sze
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: