[ 
https://issues.apache.org/jira/browse/HDFS-14741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16909699#comment-16909699
 ] 

xuzq commented on HDFS-14741:
-----------------------------

Thanks [~elgoiri] for the comment.

Add new mount point in testSetup(), so need to change totalFiles from 6 to 7 in 
 testSubclusterDown().

> RBF: RecoverLease should be return false when the file is open in multiple 
> destination
> --------------------------------------------------------------------------------------
>
>                 Key: HDFS-14741
>                 URL: https://issues.apache.org/jira/browse/HDFS-14741
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: rbf
>            Reporter: xuzq
>            Assignee: xuzq
>            Priority: Major
>         Attachments: HDFS-14741-trunk-001.patch
>
>
> RecoverLease should be return false when the file is open or be writing in 
> multiple destinations.
> Liks this:
> Mount point has multiple destination(ns0 and ns1).
> And the file is in ns0 but it is be writing, ns1 doesn't has this file.
> In this case *recoverLease* should return false instead of throw 
> FileNotFoundException.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-h...@hadoop.apache.org

Reply via email to