hadoop-hdfs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kuhu Shukla (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HDFS-10239) Fsshell mv fails if port usage doesn't match in src and destination paths
Date Thu, 31 Mar 2016 05:42:25 GMT
Kuhu Shukla created HDFS-10239:
----------------------------------

             Summary: 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


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)

Mime
View raw message