Uploaded image for project: 'Hadoop Common'
  1. Hadoop Common
  2. HADOOP-3349

FSNamesystem.changeLease(src, dst) incorrectly updates the paths inside a lease

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.18.0
    • None
    • None
    • Reviewed

    Description

      Suppose we have a closed file /foo/a and a lease /foo/aa. Calling rename(/foo/a, /foo/b) will have a side effect "Modified Lease for file /foo/aa to new path /foo/ba".

      Attachments

        1. testDFSRename.patch
          3 kB
          Tsz-wo Sze
        2. 3349_20080507c.patch
          7 kB
          Tsz-wo Sze
        3. 3349_20080507b.patch
          7 kB
          Tsz-wo Sze
        4. 3349_20080507.patch
          6 kB
          Tsz-wo Sze

        Activity

          People

            szetszwo Tsz-wo Sze
            szetszwo Tsz-wo Sze
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: