HDFS-15559. Complement initialize member variables in TestHdfsConfigFields#initializeMemberVariables. Contributed by Lisheng Sun.
This commit is contained in:
parent
65df30bad6
commit
924959088e
|
@ -1236,6 +1236,14 @@
|
||||||
restarts. Defaults to 10 minutes.</description>
|
restarts. Defaults to 10 minutes.</description>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
|
<property>
|
||||||
|
<name>dfs.client.write.recover.lease.on.close.exception</name>
|
||||||
|
<value>false</value>
|
||||||
|
<description>
|
||||||
|
Set to true to call recoverLease operation automatically when DFSOutputSteam closing encounters exception.
|
||||||
|
</description>
|
||||||
|
</property>
|
||||||
|
|
||||||
<property>
|
<property>
|
||||||
<name>dfs.namenode.checkpoint.dir</name>
|
<name>dfs.namenode.checkpoint.dir</name>
|
||||||
<value>file://${hadoop.tmp.dir}/dfs/namesecondary</value>
|
<value>file://${hadoop.tmp.dir}/dfs/namesecondary</value>
|
||||||
|
|
|
@ -43,8 +43,10 @@ public class TestHdfsConfigFields extends TestConfigurationFieldsBase {
|
||||||
configurationClasses = new Class[] { HdfsClientConfigKeys.class,
|
configurationClasses = new Class[] { HdfsClientConfigKeys.class,
|
||||||
HdfsClientConfigKeys.Failover.class,
|
HdfsClientConfigKeys.Failover.class,
|
||||||
HdfsClientConfigKeys.StripedRead.class, DFSConfigKeys.class,
|
HdfsClientConfigKeys.StripedRead.class, DFSConfigKeys.class,
|
||||||
HdfsClientConfigKeys.BlockWrite.class,
|
HdfsClientConfigKeys.BlockWrite.class, HdfsClientConfigKeys.Write.class,
|
||||||
HdfsClientConfigKeys.Read.class,
|
HdfsClientConfigKeys.Read.class, HdfsClientConfigKeys.HedgedRead.class,
|
||||||
|
HdfsClientConfigKeys.ShortCircuit.class,
|
||||||
|
HdfsClientConfigKeys.Retry.class, HdfsClientConfigKeys.Mmap.class,
|
||||||
HdfsClientConfigKeys.BlockWrite.ReplaceDatanodeOnFailure.class };
|
HdfsClientConfigKeys.BlockWrite.ReplaceDatanodeOnFailure.class };
|
||||||
|
|
||||||
// Set error modes
|
// Set error modes
|
||||||
|
|
Loading…
Reference in New Issue