HADOOP-16886. Add hadoop.http.idle_timeout.ms to core-default.xml. Contributed by Lisheng Sun.
This commit is contained in:
parent
453771f170
commit
ef9a6e775c
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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>
|
||||||
|
Loading…
Reference in New Issue
Block a user