hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject [2/4] hadoop git commit: HDFS-11893. Fix TestDFSShell.testMoveWithTargetPortEmpty failure. Contributed by Brahma Reddy Battula.
Date Thu, 01 Jun 2017 14:42:43 GMT
HDFS-11893. Fix TestDFSShell.testMoveWithTargetPortEmpty failure. Contributed by Brahma Reddy
Battula.

(cherry picked from commit 0dcf843c008f2b9cece8c0a0cef78140398ac464)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/5cbdefbc
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/5cbdefbc
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/5cbdefbc

Branch: refs/heads/branch-2
Commit: 5cbdefbcc073a94729520d1a94d6efc881e26a02
Parents: 406d8af
Author: Brahma Reddy Battula <brahma@apache.org>
Authored: Thu Jun 1 22:29:29 2017 +0800
Committer: Brahma Reddy Battula <brahma@apache.org>
Committed: Thu Jun 1 22:39:22 2017 +0800

----------------------------------------------------------------------
 .../src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java         | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/5cbdefbc/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java
index ee5956b..e6491bb 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDFSShell.java
@@ -744,7 +744,7 @@ public class TestDFSShell {
       argv = new String[3];
       argv[0] = "-mv";
       argv[1] = srcFs.getUri() + "/testfile";
-      argv[2] = "hdfs://localhost/testfile2";
+      argv[2] = "hdfs://" + srcFs.getUri().getHost() + "/testfile2";
       int ret = ToolRunner.run(shell, argv);
       assertEquals("mv should have succeeded", 0, ret);
     } finally {


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


Mime
View raw message