HDFS-7334. Fix periodic failures of TestCheckpoint#testTooManyEditReplayFailures. Contributed by Charles Lamb.
This commit is contained in:
parent
3bdfd6e58e
commit
e5e3f86c64
|
@ -853,6 +853,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
|
||||
|
|
|
@ -302,8 +302,8 @@ public class TestCheckpoint {
|
|||
@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