Jinglun created HDFS-15747:
------------------------------

             Summary: RBF: Rename across sub-namespaces.
                 Key: HDFS-15747
                 URL: https://issues.apache.org/jira/browse/HDFS-15747
             Project: Hadoop HDFS
          Issue Type: New Feature
            Reporter: Jinglun


Since we have HDFS-15294, we can use it to rename across namespaces. This Jira 
proposes a basic implementation: enable the Router to handle rename within 
multi-namespaces with the federation balance tool.

If the conditions below are satisfied, the router will rename the path across 
namespaces:
1. The 'enable rename across namespaces' switch is on. Default is off.
2. The remote location of src and the dst should be exactly one and should at 
different namespaces.

We can implement this in 2 steps:
1. Move hadoop-federation-balance module to hadoop-hdfs-rbf. That's because the 
implementation of federation balance depends on hadoop-hdfs-rbf and 
hadoop-distcp. To avoid circular dependency we can move 
hadoop-federation-balance to hadoop-hdfs-rbf and let hadoo-hdfs-rbf depend on 
hadoop-distcp.
2. The basic implementation of rename across sub-namespaces. This step relies 
on step one.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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

Reply via email to