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

Append 0.20: New semantics for recoverLease

VotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.20-append, 0.20.205.0
    • None
    • None
    • Incompatible change, Reviewed
    • 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.

      Attachments

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

        Issue Links

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            hairong Hairong Kuang
            hairong Hairong Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment