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

completeFile does not check lease ownership

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

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.20-append
    • 0.20-append, 0.20.205.0, 0.22.0
    • namenode
    • None
    • Reviewed

    Description

      completeFile should check that the caller still owns the lease of the file that it's completing. This is for the 'testCompleteOtherLeaseHoldersFile' case in HDFS-1139.

      Attachments

        1. hdfs-1141.txt
          14 kB
          Todd Lipcon
        2. hdfs-1141-branch20.txt
          5 kB
          Todd Lipcon
        3. hdfs-1141.txt
          17 kB
          Todd Lipcon
        4. HDFS-1141.20-security.1.patch
          5 kB
          Jitendra Nath Pandey

        Issue Links

        Activity

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

          People

            tlipcon Todd Lipcon
            tlipcon Todd Lipcon
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment