YARN-3554. Default value for maximum nodemanager connect wait time is too high. Contributed by Naganarasimha G R

(cherry picked from commit 9757864fd6)
(cherry picked from commit 1b95bf9e1b)
This commit is contained in:
Jason Lowe 2015-05-08 13:45:35 +00:00 committed by Sangjin Lee
parent 4104ab346f
commit c4cbbcbc26
3 changed files with 5 additions and 2 deletions

View File

@ -24,6 +24,9 @@ Release 2.6.2 - UNRELEASED
YARN-4087. Followup fixes after YARN-2019 regarding RM behavior when YARN-4087. Followup fixes after YARN-2019 regarding RM behavior when
state-store error occurs. (Jian He via xgong) state-store error occurs. (Jian He via xgong)
YARN-3554. Default value for maximum nodemanager connect wait time is too
high (Naganarasimha G R via jlowe)
Release 2.6.1 - 2015-09-23 Release 2.6.1 - 2015-09-23
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -1465,7 +1465,7 @@ public class YarnConfiguration extends Configuration {
public static final String CLIENT_NM_CONNECT_MAX_WAIT_MS = public static final String CLIENT_NM_CONNECT_MAX_WAIT_MS =
YARN_PREFIX + "client.nodemanager-connect.max-wait-ms"; YARN_PREFIX + "client.nodemanager-connect.max-wait-ms";
public static final long DEFAULT_CLIENT_NM_CONNECT_MAX_WAIT_MS = public static final long DEFAULT_CLIENT_NM_CONNECT_MAX_WAIT_MS =
15 * 60 * 1000; 3 * 60 * 1000;
/** Time interval between each attempt to connect to NM */ /** Time interval between each attempt to connect to NM */
public static final String CLIENT_NM_CONNECT_RETRY_INTERVAL_MS = public static final String CLIENT_NM_CONNECT_RETRY_INTERVAL_MS =

View File

@ -1127,7 +1127,7 @@
<property> <property>
<description>Max time to wait to establish a connection to NM</description> <description>Max time to wait to establish a connection to NM</description>
<name>yarn.client.nodemanager-connect.max-wait-ms</name> <name>yarn.client.nodemanager-connect.max-wait-ms</name>
<value>900000</value> <value>180000</value>
</property> </property>
<property> <property>