|
@@ -60,7 +60,6 @@ public class TestEditLogTailer {
|
|
|
ServiceFailedException {
|
|
|
Configuration conf = new HdfsConfiguration();
|
|
|
conf.setInt(DFSConfigKeys.DFS_HA_TAILEDITS_PERIOD_KEY, 1);
|
|
|
- conf.setInt(DFSConfigKeys.DFS_HA_TAILEDITS_ALL_NAMESNODES_RETRY_KEY, 100);
|
|
|
|
|
|
HAUtil.setAllowStandbyReads(conf, true);
|
|
|
|
|
@@ -121,7 +120,6 @@ public class TestEditLogTailer {
|
|
|
// Roll every 1s
|
|
|
conf.setInt(DFSConfigKeys.DFS_HA_LOGROLL_PERIOD_KEY, 1);
|
|
|
conf.setInt(DFSConfigKeys.DFS_HA_TAILEDITS_PERIOD_KEY, 1);
|
|
|
- conf.setInt(DFSConfigKeys.DFS_HA_TAILEDITS_ALL_NAMESNODES_RETRY_KEY, 100);
|
|
|
|
|
|
// Have to specify IPC ports so the NNs can talk to each other.
|
|
|
MiniDFSNNTopology topology = new MiniDFSNNTopology()
|