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

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

In the particular you mentioned before like:
* /mntsrc in ns1 and ns2
* /mntdst in ns2 and ns3

If we are renaming a file that is originally in ns1, we will fail 
(RenameNotAllowedException), but if the file is originally in ns2, we can do 
the rename, right?
Then if the file already exists in ns3, then we fail for the src being in ns1 
but delete it from ns3 for the file being in ns2.
Does it sound right?

> RBF: Rename with multiple subclusters should fail if no eligible locations
> --------------------------------------------------------------------------
>
>                 Key: HDFS-14431
>                 URL: https://issues.apache.org/jira/browse/HDFS-14431
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Íñigo Goiri
>            Assignee: Íñigo Goiri
>            Priority: Major
>         Attachments: HDFS-14431-HDFS-13891.001.patch, 
> HDFS-14431-HDFS-13891.002.patch, HDFS-14431-HDFS-13891.003.patch, 
> HDFS-14431-HDFS-13891.004.patch, HDFS-14431-HDFS-13891.005.patch, 
> HDFS-14431-HDFS-13891.006.patch, HDFS-14431-HDFS-13891.007.patch
>
>
> Currently, the rename will fail with FileNotFoundException which is not clear 
> to the user.
> The operation should fail stating the reason is that there are no eligible 
> destinations.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to