diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
index 4a0da7a0597..554cdc9235b 100755
--- a/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/main/resources/hdfs-default.xml
@@ -1236,6 +1236,14 @@
restarts. Defaults to 10 minutes.
+
+ dfs.client.write.recover.lease.on.close.exception
+ false
+
+ Set to true to call recoverLease operation automatically when DFSOutputSteam closing encounters exception.
+
+
+
dfs.namenode.checkpoint.dir
file://${hadoop.tmp.dir}/dfs/namesecondary
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java
index 9d6e589cc8f..da9473c8e14 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/tools/TestHdfsConfigFields.java
@@ -43,8 +43,10 @@ public class TestHdfsConfigFields extends TestConfigurationFieldsBase {
configurationClasses = new Class[] { HdfsClientConfigKeys.class,
HdfsClientConfigKeys.Failover.class,
HdfsClientConfigKeys.StripedRead.class, DFSConfigKeys.class,
- HdfsClientConfigKeys.BlockWrite.class,
- HdfsClientConfigKeys.Read.class,
+ HdfsClientConfigKeys.BlockWrite.class, HdfsClientConfigKeys.Write.class,
+ HdfsClientConfigKeys.Read.class, HdfsClientConfigKeys.HedgedRead.class,
+ HdfsClientConfigKeys.ShortCircuit.class,
+ HdfsClientConfigKeys.Retry.class, HdfsClientConfigKeys.Mmap.class,
HdfsClientConfigKeys.BlockWrite.ReplaceDatanodeOnFailure.class };
// Set error modes