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

completeFile does not check lease ownership

    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.20-security.1.patch
          5 kB
          Jitendra Nath Pandey
        2. hdfs-1141.txt
          17 kB
          Todd Lipcon
        3. hdfs-1141.txt
          14 kB
          Todd Lipcon
        4. hdfs-1141-branch20.txt
          5 kB
          Todd Lipcon

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: