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

(cherry picked from commit ac56b0637e)
(cherry picked from commit 2d0996ae6d)

Conflicts:
	hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt
This commit is contained in:
Andrew Wang 2014-10-21 12:55:18 -07:00 committed by cnauroth
parent 8c3a0d5a98
commit a2b46a7340
2 changed files with 5 additions and 1 deletions

View File

@ -306,6 +306,8 @@ Release 2.6.0 - UNRELEASED
HDFS-7233. NN logs unnecessary org.apache.hadoop.hdfs.protocol.UnresolvedPathException.
(Rushabh S Shah via jing9)
HDFS-7221. TestDNFencingWithReplication fails consistently. (Charles Lamb via wang)
OPTIMIZATIONS
HDFS-6690. Deduplicate xattr names in memory. (wang)

View File

@ -49,7 +49,9 @@ public class 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);
}
/**