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

Jinglun commented on HDFS-14431:
--------------------------------

Hi [~ayushtkn], the HDFS-15294 only supports using a command to rename a path 
to another namespace. To rename across Namespaces there are some future works 
to do: 

1) Give Router the ability to rename across Namespaces. To implement this we 
need let HDFS-15294 run in the Router. One thing needs to be carefully thought 
is if one Router crashes, how does the 'balance jobs' failover to other Router.

2) The client-side timeout.  Rename across namespaces takes much longer than 
normal rename(it uses distcp) and definitely would cause the client rpc timeout.

> 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
(v8.3.4#803005)

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

Reply via email to