|
@@ -586,6 +586,7 @@ public class TestBlockRecovery {
|
|
tearDown();// Stop the Mocked DN started in startup()
|
|
tearDown();// Stop the Mocked DN started in startup()
|
|
|
|
|
|
Configuration conf = new HdfsConfiguration();
|
|
Configuration conf = new HdfsConfiguration();
|
|
|
|
+ conf.set(DFSConfigKeys.DFS_DATANODE_XCEIVER_STOP_TIMEOUT_MILLIS_KEY, "1000");
|
|
MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf)
|
|
MiniDFSCluster cluster = new MiniDFSCluster.Builder(conf)
|
|
.nnTopology(MiniDFSNNTopology.simpleSingleNN(8020, 50070))
|
|
.nnTopology(MiniDFSNNTopology.simpleSingleNN(8020, 50070))
|
|
.numDataNodes(1).build();
|
|
.numDataNodes(1).build();
|