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

This commit is contained in:
Ayush Saxena 2020-04-25 13:07:32 +05:30
parent d6c48f8100
commit c2769384ac
2 changed files with 17 additions and 0 deletions

View File

@ -988,5 +988,14 @@ public class CommonConfigurationKeysPublic {
public static final String HADOOP_PROMETHEUS_ENABLED = public static final String HADOOP_PROMETHEUS_ENABLED =
"hadoop.prometheus.endpoint.enabled"; "hadoop.prometheus.endpoint.enabled";
public static final boolean HADOOP_PROMETHEUS_ENABLED_DEFAULT = false; public static final boolean HADOOP_PROMETHEUS_ENABLED_DEFAULT = false;
/**
* @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> ordering of the filters.</description>
</property> </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 --> <!--- security properties -->
<property> <property>