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

Clients should not retain leases on moved files

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Duplicate
    • 0.23.0, 2.0.0-alpha, 3.0.0-alpha1
    • None
    • namenode
    • None

    Description

      Moving open files and/or parent directories of open files will rewrite the leases to the new path. The client is not notified so future stream operations will fail. However, as long as the client keeps its lease active it will have a "lock" on the file in its new location. This is not good for a daemon.

      Leases should be released after the file is moved.

      Attachments

        Issue Links

          Activity

            People

              daryn Daryn Sharp
              daryn Daryn Sharp
              Votes:
              0 Vote for this issue
              Watchers:
              9 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: