You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-dev@hadoop.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2014/05/12 20:18:16 UTC

[jira] [Resolved] (HDFS-4437) Clients should not retain leases on moved files

     [ https://issues.apache.org/jira/browse/HDFS-4437?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Colin Patrick McCabe resolved HDFS-4437.
----------------------------------------

          Resolution: Duplicate
    Target Version/s: 2.1.0-beta, 3.0.0  (was: 3.0.0, 2.1.0-beta)

> Clients should not retain leases on moved files
> -----------------------------------------------
>
>                 Key: HDFS-4437
>                 URL: https://issues.apache.org/jira/browse/HDFS-4437
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: namenode
>    Affects Versions: 0.23.0, 2.0.0-alpha, 3.0.0
>            Reporter: Daryn Sharp
>            Assignee: Daryn Sharp
>            Priority: Critical
>
> 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.



--
This message was sent by Atlassian JIRA
(v6.2#6252)