HDFS-11893. Fix TestDFSShell.testMoveWithTargetPortEmpty failure. Contributed by Brahma Reddy Battula.
(cherry picked from commit 0dcf843c00
)
This commit is contained in:
parent
fd112535c8
commit
2b19c7b3ff
|
@ -335,6 +335,9 @@ Release 2.7.4 - UNRELEASED
|
||||||
|
|
||||||
Fix NPE in LazyPersistFileScrubber. (Inigo Goiri via shv)
|
Fix NPE in LazyPersistFileScrubber. (Inigo Goiri via shv)
|
||||||
|
|
||||||
|
HDFS-11893. Fix TestDFSShell.testMoveWithTargetPortEmpty failure.
|
||||||
|
(Contributed by Brahma Reddy Battula)
|
||||||
|
|
||||||
Release 2.7.3 - 2016-08-25
|
Release 2.7.3 - 2016-08-25
|
||||||
|
|
||||||
INCOMPATIBLE CHANGES
|
INCOMPATIBLE CHANGES
|
||||||
|
|
|
@ -541,7 +541,7 @@ public class TestDFSShell {
|
||||||
argv = new String[3];
|
argv = new String[3];
|
||||||
argv[0] = "-mv";
|
argv[0] = "-mv";
|
||||||
argv[1] = srcFs.getUri() + "/testfile";
|
argv[1] = srcFs.getUri() + "/testfile";
|
||||||
argv[2] = "hdfs://localhost/testfile2";
|
argv[2] = "hdfs://" + srcFs.getUri().getHost() + "/testfile2";
|
||||||
int ret = ToolRunner.run(shell, argv);
|
int ret = ToolRunner.run(shell, argv);
|
||||||
assertEquals("mv should have succeeded", 0, ret);
|
assertEquals("mv should have succeeded", 0, ret);
|
||||||
} finally {
|
} finally {
|
||||||
|
|
Loading…
Reference in New Issue