Hadoop HDFS
  1. Hadoop HDFS
  2. HDFS-1141

completeFile does not check lease ownership

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.20-append
    • Fix Version/s: 0.20-append, 0.20.205.0, 0.22.0
    • Component/s: namenode
    • Labels:
      None
    • Hadoop Flags:
      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.

      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

          Todd Lipcon created issue -
          Todd Lipcon made changes -
          Field Original Value New Value
          Link This issue is part of HDFS-1139 [ HDFS-1139 ]
          Todd Lipcon made changes -
          Attachment hdfs-1141.txt [ 12444161 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          Todd Lipcon made changes -
          Attachment hdfs-1141-branch20.txt [ 12444170 ]
          Todd Lipcon made changes -
          Attachment hdfs-1141.txt [ 12444208 ]
          Todd Lipcon made changes -
          Status Patch Available [ 10002 ] Open [ 1 ]
          Todd Lipcon made changes -
          Status Open [ 1 ] Patch Available [ 10002 ]
          dhruba borthakur made changes -
          Status Patch Available [ 10002 ] Resolved [ 5 ]
          Hadoop Flags [Reviewed]
          Fix Version/s 0.22.0 [ 12314241 ]
          Resolution Fixed [ 1 ]
          Todd Lipcon made changes -
          Affects Version/s 0.20-append [ 12315103 ]
          Affects Version/s 0.21.0 [ 12314046 ]
          Todd Lipcon made changes -
          Resolution Fixed [ 1 ]
          Status Resolved [ 5 ] Reopened [ 4 ]
          dhruba borthakur made changes -
          Fix Version/s 0.20-append [ 12315103 ]
          dhruba borthakur made changes -
          Status Reopened [ 4 ] Resolved [ 5 ]
          Resolution Fixed [ 1 ]
          Jitendra Nath Pandey made changes -
          Attachment HDFS-1141.20-security.1.patch [ 12492803 ]
          Suresh Srinivas made changes -
          Fix Version/s 0.20.205.0 [ 12316392 ]
          Matt Foley made changes -
          Status Resolved [ 5 ] Closed [ 6 ]

            People

            • Assignee:
              Todd Lipcon
              Reporter:
              Todd Lipcon
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development