You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Brahma Reddy Battula (JIRA)" <ji...@apache.org> on 2017/06/09 09:34:19 UTC

[jira] [Updated] (HADOOP-14455) ViewFileSystem#rename should support be supported within same nameservice with different mountpoints

     [ https://issues.apache.org/jira/browse/HADOOP-14455?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Brahma Reddy Battula updated HADOOP-14455:
------------------------------------------
    Attachment: HADOOP-14455.patch

Uploading the patch..Kindly review.

> ViewFileSystem#rename should support be supported within same nameservice with different mountpoints
> ----------------------------------------------------------------------------------------------------
>
>                 Key: HADOOP-14455
>                 URL: https://issues.apache.org/jira/browse/HADOOP-14455
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: viewfs
>            Reporter: Brahma Reddy Battula
>            Assignee: Brahma Reddy Battula
>         Attachments: HADOOP-14455.patch
>
>
> *Scenario:* 
> || Mount Point || NameService|| Value||
> |/tmp|hacluster|/tmp|
> |/user|hacluster|/user|
> Move file from {{/tmp}} to {{/user}}
> It will fail by throwing the following error
> {noformat}
> Caused by: java.io.IOException: Renames across Mount points not supported
>         at org.apache.hadoop.fs.viewfs.ViewFileSystem.rename(ViewFileSystem.java:500)
>         at org.apache.hadoop.hive.ql.metadata.Hive.moveFile(Hive.java:2692)
>         ... 22 more
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

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