HADOOP-16886. Add hadoop.http.idle_timeout.ms to core-default.xml. Contributed by Lisheng Sun.

This commit is contained in:
Ayush Saxena 2020-05-01 14:27:24 +05:30
parent ec6d2a8402
commit 41df5bf835
2 changed files with 16 additions and 0 deletions

View File

@ -940,5 +940,13 @@ public class CommonConfigurationKeysPublic {
/** Default shutdown hook timeout: {@value} seconds. */
public static final long SERVICE_SHUTDOWN_TIMEOUT_DEFAULT = 30;
/**
* @see
* <a href="{@docRoot}/../hadoop-project-dist/hadoop-common/core-default.xml">
* core-default.xml</a>
*/
public static final String HADOOP_HTTP_IDLE_TIMEOUT_MS_KEY =
"hadoop.http.idle_timeout.ms";
public static final int HADOOP_HTTP_IDLE_TIMEOUT_MS_DEFAULT = 1000;
}

View File

@ -48,6 +48,14 @@
ordering of the filters.</description>
</property>
<property>
<name>hadoop.http.idle_timeout.ms</name>
<value>1000</value>
<description>
NN/JN/DN Server connection timeout in milliseconds.
</description>
</property>
<!--- security properties -->
<property>