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

Clients should not retain leases on moved files

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Critical
    • Resolution: Duplicate
    • Affects Version/s: 0.23.0, 2.0.0-alpha, 3.0.0-alpha1
    • Fix Version/s: None
    • Component/s: namenode
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: