HDFS-14918. Remove useless getRedundancyThread from BlockManagerTestUtil. Contributed by Fei Hui.

This commit is contained in:
Ayush Saxena 2019-10-22 18:34:02 +05:30
parent 72003b19bf
commit 19f35cfd57
1 changed files with 0 additions and 8 deletions

View File

@ -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;
@ -146,13 +145,6 @@ public class BlockManagerTestUtil {
return domSet.size();
}
/**
* @return redundancy monitor thread instance from block manager.
*/
public static Daemon getRedundancyThread(final BlockManager blockManager) {
return blockManager.getRedundancyThread();
}
/**
* Stop the redundancy monitor thread.
*/