hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Íñigo Goiri (Jira) <j...@apache.org>
Subject [jira] [Commented] (HDFS-14741) RBF: RecoverLease should be return false when the file is open in multiple destination
Date Mon, 19 Aug 2019 22:56:00 GMT

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

Íñigo Goiri commented on HDFS-14741:
------------------------------------

Not a big fan of changing the visibility of DFSClient, isn't there any other interface we
can use?
The pattern for verifying the exception is a little open too.
We should have something like LambdaTestUtils#intercept.

> 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, HDFS-14741-trunk-002.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
(v8.3.2#803003)

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


Mime
View raw message