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

(cherry picked from commit ac56b0637e)
This commit is contained in:
Andrew Wang 2014-10-21 12:55:18 -07:00
parent a066134277
commit 2d0996ae6d
2 changed files with 5 additions and 1 deletions

View File

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

View File

@ -49,7 +49,9 @@ public HAStressTestHarness() {
conf.setInt(DFSConfigKeys.DFS_HEARTBEAT_INTERVAL_KEY, 1); conf.setInt(DFSConfigKeys.DFS_HEARTBEAT_INTERVAL_KEY, 1);
conf.setInt(DFSConfigKeys.DFS_HA_TAILEDITS_PERIOD_KEY, 1); conf.setInt(DFSConfigKeys.DFS_HA_TAILEDITS_PERIOD_KEY, 1);
// Increase max streams so that we re-replicate quickly. // 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);
} }
/** /**