HDFS-7221. TestDNFencingWithReplication fails consistently. Contributed by Charles Lamb.

This commit is contained in:
Andrew Wang 2014-10-21 12:55:18 -07:00
parent 6637e3cf95
commit ac56b0637e
2 changed files with 5 additions and 1 deletions

View File

@ -384,6 +384,8 @@ Release 2.7.0 - UNRELEASED
HDFS-7266. HDFS Peercache enabled check should not lock on object (awang
via cmccabe)
HDFS-7221. TestDNFencingWithReplication fails consistently. (Charles Lamb via wang)
OPTIMIZATIONS
BUG FIXES

View File

@ -49,7 +49,9 @@ public HAStressTestHarness() {
conf.setInt(DFSConfigKeys.DFS_HEARTBEAT_INTERVAL_KEY, 1);
conf.setInt(DFSConfigKeys.DFS_HA_TAILEDITS_PERIOD_KEY, 1);
// Increase max streams so that we re-replicate quickly.
conf.setInt(DFSConfigKeys.DFS_NAMENODE_REPLICATION_MAX_STREAMS_KEY, 1000);
conf.setInt(DFSConfigKeys.DFS_NAMENODE_REPLICATION_MAX_STREAMS_KEY, 16);
conf.setInt(
DFSConfigKeys.DFS_NAMENODE_REPLICATION_STREAMS_HARD_LIMIT_KEY, 16);
}
/**