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

Hudson commented on HDFS-10239:
-------------------------------

FAILURE: Integrated in Hadoop-trunk-Commit #9559 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/9559/])
HDFS-10239. Fsshell mv fails if port usage doesn't match in src and (kihwal: 
rev 917464505c0e930ebeb4c775d829e51c56a48686)
* 
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java
* 
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/shell/MoveCommands.java


> Fsshell mv fails if port usage doesn't match in src and destination paths
> -------------------------------------------------------------------------
>
>                 Key: HDFS-10239
>                 URL: https://issues.apache.org/jira/browse/HDFS-10239
>             Project: Hadoop HDFS
>          Issue Type: Bug
>    Affects Versions: 2.7.2
>            Reporter: Kuhu Shukla
>            Assignee: Kuhu Shukla
>         Attachments: HDFS-10239.001.patch, HDFS-10239.002.patch
>
>
> If one of the src or destination fs URIs does not contain the port while the 
> other one does, the MoveCommands#processPath preemptively throws 
> PathIOException "Does not match target filesystem".
> eg.
> {code}
> -bash-4.1$ hadoop fs -mv hdfs://localhost:8020/tmp/foo3 
> hdfs://localhost/tmp/foo4
> mv: `hdfs://localhost:8020:8020/tmp/foo3': Does not match target filesystem
> {code}
> This is due to strict string check in {{processPath}}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to