Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.7.2
-
None
-
None
-
Reviewed
Description
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.
-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
This is due to strict string check in processPath
Attachments
Attachments
Issue Links
- breaks
-
HDFS-11893 Fix TestDFSShell.testMoveWithTargetPortEmpty failure.
- Resolved