Details
-
Bug
-
Status: Resolved
-
Critical
-
Resolution: Duplicate
-
0.23.0, 2.0.0-alpha, 3.0.0-alpha1
-
None
-
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
- duplicates
-
HDFS-6294 Use INode IDs to avoid conflicts when a file open for write is renamed
- Closed