You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Wei Yan (JIRA)" <ji...@apache.org> on 2018/03/09 16:45:00 UTC

[jira] [Commented] (HDFS-13254) RBF: can not mv/cp file cross namespace

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

Wei Yan commented on HDFS-13254:
--------------------------------

[~wuweiwei] If two namespaces are located at different HDFS clusters, cp/mv are not supported and HDFS-13123 will soon put a tool to copy data across clusters (but copy is a heavy operation and will take much time).

I don't have detailed context about moving data between namespaces inside on cluster. But I also heard from others that cp/mv are not supported, and is not easy to make this happen. Not 100% sure here.

In general, I think we shouldn't expect too many cross-namespace operations from application perspective when designing the mount points. This needs help from application-level, where previously users are easily generating data under /tmp and moving to another prod dir. My two cents from our experience:
 * Asking all application jobs to use .tmp dirs close to prod dirs;
 * Hive/Spark and other engines can be easily configured to use the tmp directory within the same prod volume. 

 

> RBF: can not mv/cp file cross namespace
> ---------------------------------------
>
>                 Key: HDFS-13254
>                 URL: https://issues.apache.org/jira/browse/HDFS-13254
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Weiwei Wu
>            Priority: Major
>
> When I try to mv a file from a namespace to another, the client return an error.
>  
> Do we have any plan to support cp/mv file cross namespace?



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

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