This is an automated email from the ASF dual-hosted git repository.
ayushsaxena pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git
The following commit(s) were added to refs/heads/trunk by this push:
new 19f35cf HDFS-14918. Remove useless getRedundancyThread from
BlockManagerTestUtil. Contributed by Fei Hui.
19f35cf is described below
commit 19f35cfd5707eb1f2df2b99734acae64935c2148
Author: Ayush Saxena <[email protected]>
AuthorDate: Tue Oct 22 18:34:02 2019 +0530
HDFS-14918. Remove useless getRedundancyThread from BlockManagerTestUtil.
Contributed by Fei Hui.
---
.../hadoop/hdfs/server/blockmanagement/BlockManagerTestUtil.java | 8 --------
1 file changed, 8 deletions(-)
diff --git
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerTestUtil.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerTestUtil.java
index 4d6f202..7fd5e84 100644
---
a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerTestUtil.java
+++
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/BlockManagerTestUtil.java
@@ -34,7 +34,6 @@ import org.apache.hadoop.hdfs.server.namenode.NameNode;
import org.apache.hadoop.hdfs.server.protocol.DatanodeStorage;
import org.apache.hadoop.hdfs.server.protocol.StorageReport;
import org.apache.hadoop.test.Whitebox;
-import org.apache.hadoop.util.Daemon;
import org.junit.Assert;
import com.google.common.base.Preconditions;
@@ -147,13 +146,6 @@ public class BlockManagerTestUtil {
}
/**
- * @return redundancy monitor thread instance from block manager.
- */
- public static Daemon getRedundancyThread(final BlockManager blockManager) {
- return blockManager.getRedundancyThread();
- }
-
- /**
* Stop the redundancy monitor thread.
*/
public static void stopRedundancyThread(final BlockManager blockManager)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]