hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kih...@apache.org
Subject hadoop git commit: HDFS-10816. TestComputeInvalidateWork#testDatanodeReRegistration fails due to race between test and replication monitor. Contributed by Eric Badger.
Date Mon, 05 Jun 2017 20:25:17 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 baff06f01 -> e2ea60123


HDFS-10816. TestComputeInvalidateWork#testDatanodeReRegistration fails due to race between
test and replication monitor. Contributed by Eric Badger.


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

Branch: refs/heads/branch-2
Commit: e2ea6012311c927cd7bc1524f811411fda4fd6cc
Parents: baff06f
Author: Kihwal Lee <kihwal@apache.org>
Authored: Mon Jun 5 15:24:39 2017 -0500
Committer: Kihwal Lee <kihwal@apache.org>
Committed: Mon Jun 5 15:24:54 2017 -0500

----------------------------------------------------------------------
 .../hdfs/server/blockmanagement/TestComputeInvalidateWork.java      | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/e2ea6012/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestComputeInvalidateWork.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestComputeInvalidateWork.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestComputeInvalidateWork.java
index 033f4d1..84eba08 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestComputeInvalidateWork.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestComputeInvalidateWork.java
@@ -63,6 +63,7 @@ public class TestComputeInvalidateWork {
     namesystem = cluster.getNamesystem();
     bm = namesystem.getBlockManager();
     nodes = bm.getDatanodeManager().getHeartbeatManager().getDatanodes();
+    BlockManagerTestUtil.stopReplicationThread(bm);
     assertEquals(nodes.length, NUM_OF_DATANODES);
   }
 


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