HDFS-7334. Fix periodic failures of TestCheckpoint#testTooManyEditReplayFailures. Contributed by Charles Lamb.
This commit is contained in:
parent
1eed102023
commit
d0449bd2fd
@ -998,6 +998,9 @@ Release 2.6.0 - UNRELEASED
|
||||
|
||||
HDFS-7340. Make rollingUpgrade start/finalize idempotent. (jing9)
|
||||
|
||||
HDFS-7334. Fix periodic failures of TestCheckpoint
|
||||
#testTooManyEditReplayFailures. (Charles Lamb via wheat9)
|
||||
|
||||
BREAKDOWN OF HDFS-6134 AND HADOOP-10150 SUBTASKS AND RELATED JIRAS
|
||||
|
||||
HDFS-6387. HDFS CLI admin tool for creating & deleting an
|
||||
|
@ -289,8 +289,8 @@ public void testReloadOnEditReplayFailure () throws IOException {
|
||||
@Test(timeout=30000)
|
||||
public void testTooManyEditReplayFailures() throws IOException {
|
||||
Configuration conf = new HdfsConfiguration();
|
||||
conf.set(DFSConfigKeys.DFS_NAMENODE_CHECKPOINT_MAX_RETRIES_KEY, "1");
|
||||
conf.set(DFSConfigKeys.DFS_NAMENODE_CHECKPOINT_CHECK_PERIOD_KEY, "1");
|
||||
conf.setInt(DFSConfigKeys.DFS_NAMENODE_CHECKPOINT_MAX_RETRIES_KEY, 1);
|
||||
conf.setInt(DFSConfigKeys.DFS_NAMENODE_CHECKPOINT_PERIOD_KEY, 1);
|
||||
|
||||
FSDataOutputStream fos = null;
|
||||
SecondaryNameNode secondary = null;
|
||||
|
Loading…
Reference in New Issue
Block a user