Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1554

Append 0.20: New semantics for recoverLease

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.20-append, 0.20.205.0
    • Component/s: None
    • Labels:
      None
    • Hadoop Flags:
      Incompatible change, Reviewed
    • Release Note:
      Change recoverLease API to return if the file is closed or not. It also change the semantics of recoverLease to start lease recovery immediately.

      Description

      Current recoverLease API implemented in append 0.20 aims to provide a lighter weight (comparing to using create/append) way to trigger a file's soft lease expiration. From both the use case of hbase and scribe, it could have a stronger semantics: revoking the file's lease, thus starting lease recovery immediately.

      Also I'd like to port this recoverLease API to HDFS 0.22 and trunk since HBase is moving to HDFS 0.22.

      1. HDFS-1554.20-security.1.patch
        15 kB
        Jitendra Nath Pandey
      2. appendRecoverLease1.patch
        14 kB
        Hairong Kuang
      3. appendRecoverLease.patch
        11 kB
        Hairong Kuang

        Issue Links

          Activity

          No work has yet been logged on this issue.

            People

            • Assignee:
              Hairong Kuang
              Reporter:
              Hairong Kuang
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development