YARN-3019. Make work-preserving-recovery the default mechanism for RM recovery. (Contributed by Jian He)
(cherry picked from commit f92e503800
)
This commit is contained in:
parent
4931600030
commit
0119e717ae
|
@ -149,6 +149,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
YARN-2643. Don't create a new DominantResourceCalculator on every
|
YARN-2643. Don't create a new DominantResourceCalculator on every
|
||||||
FairScheduler.allocate call. (kasha via rkanter)
|
FairScheduler.allocate call. (kasha via rkanter)
|
||||||
|
|
||||||
|
YARN-3019. Make work-preserving-recovery the default mechanism for RM
|
||||||
|
recovery. (Jian He via junping_du)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -378,7 +378,7 @@ public class YarnConfiguration extends Configuration {
|
||||||
+ "work-preserving-recovery.enabled";
|
+ "work-preserving-recovery.enabled";
|
||||||
@Private
|
@Private
|
||||||
public static final boolean DEFAULT_RM_WORK_PRESERVING_RECOVERY_ENABLED =
|
public static final boolean DEFAULT_RM_WORK_PRESERVING_RECOVERY_ENABLED =
|
||||||
false;
|
true;
|
||||||
|
|
||||||
public static final String RM_WORK_PRESERVING_RECOVERY_SCHEDULING_WAIT_MS =
|
public static final String RM_WORK_PRESERVING_RECOVERY_SCHEDULING_WAIT_MS =
|
||||||
RM_PREFIX + "work-preserving-recovery.scheduling-wait-ms";
|
RM_PREFIX + "work-preserving-recovery.scheduling-wait-ms";
|
||||||
|
|
|
@ -271,7 +271,7 @@
|
||||||
to YARN for experimenting the feature.
|
to YARN for experimenting the feature.
|
||||||
</description>
|
</description>
|
||||||
<name>yarn.resourcemanager.work-preserving-recovery.enabled</name>
|
<name>yarn.resourcemanager.work-preserving-recovery.enabled</name>
|
||||||
<value>false</value>
|
<value>true</value>
|
||||||
</property>
|
</property>
|
||||||
|
|
||||||
<property>
|
<property>
|
||||||
|
|
Loading…
Reference in New Issue