hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bra...@apache.org
Subject hadoop git commit: HDFS-10730. Fix some failed tests due to BindException. Contributed by Yiqun Lin
Date Fri, 21 Oct 2016 13:07:06 GMT
Repository: hadoop
Updated Branches:
  refs/heads/trunk 754cb4e30 -> f63cd78f6


HDFS-10730. Fix some failed tests due to BindException. Contributed by Yiqun Lin


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

Branch: refs/heads/trunk
Commit: f63cd78f6008bf7cfc9ee74217ed6f3d4f5bec5c
Parents: 754cb4e
Author: Brahma Reddy Battula <brahma@apache.org>
Authored: Fri Oct 21 18:16:39 2016 +0530
Committer: Brahma Reddy Battula <brahma@apache.org>
Committed: Fri Oct 21 18:16:39 2016 +0530

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hdfs/TestDecommissionWithStriped.java   | 2 +-
 .../src/test/java/org/apache/hadoop/hdfs/TestFileChecksum.java     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/f63cd78f/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommissionWithStriped.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommissionWithStriped.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommissionWithStriped.java
index d223354..b532443 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommissionWithStriped.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestDecommissionWithStriped.java
@@ -252,7 +252,7 @@ public class TestDecommissionWithStriped {
     Thread.sleep(3000); // grace period to trigger decommissioning call
     // start datanode so that decommissioning live node will be finished
     for (DataNodeProperties dnp : stoppedDns) {
-      cluster.restartDataNode(dnp, true);
+      cluster.restartDataNode(dnp);
       LOG.info("Restarts stopped datanode:{} to trigger block reconstruction",
           dnp.datanode);
     }

http://git-wip-us.apache.org/repos/asf/hadoop/blob/f63cd78f/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileChecksum.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileChecksum.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileChecksum.java
index 908ab0c..8f83ba5 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileChecksum.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/TestFileChecksum.java
@@ -479,7 +479,7 @@ public class TestFileChecksum {
     }
 
     if (dnIdxToDie != -1) {
-      cluster.restartDataNode(dnIdxToDie, true);
+      cluster.restartDataNode(dnIdxToDie);
     }
 
     return fc;


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