YARN-4183. Reverting the patch to fix behaviour change.
Revert "YARN-4183. Enabling generic application history forces every job to get a timeline service delegation token (jeagles)"
This reverts commit 3287a50cfe
.
This commit is contained in:
parent
ba7b5f3a5d
commit
2bd64879f4
|
@ -115,9 +115,6 @@ Release 2.7.2 - UNRELEASED
|
||||||
YARN-2902. Killing a container that is localizing can orphan resources in
|
YARN-2902. Killing a container that is localizing can orphan resources in
|
||||||
the DOWNLOADING state (Varun Saxena via jlowe)
|
the DOWNLOADING state (Varun Saxena via jlowe)
|
||||||
|
|
||||||
YARN-4183. Enabling generic application history forces every job to get a
|
|
||||||
timeline service delegation token (Mit Desai via jeagles)
|
|
||||||
|
|
||||||
YARN-4313. Race condition in MiniMRYarnCluster when getting history server
|
YARN-4313. Race condition in MiniMRYarnCluster when getting history server
|
||||||
address. (Jian He via xgong)
|
address. (Jian He via xgong)
|
||||||
|
|
||||||
|
|
|
@ -75,8 +75,8 @@ public class SystemMetricsPublisher extends CompositeService {
|
||||||
@Override
|
@Override
|
||||||
protected void serviceInit(Configuration conf) throws Exception {
|
protected void serviceInit(Configuration conf) throws Exception {
|
||||||
publishSystemMetrics =
|
publishSystemMetrics =
|
||||||
conf.getBoolean(YarnConfiguration.APPLICATION_HISTORY_ENABLED,
|
conf.getBoolean(YarnConfiguration.TIMELINE_SERVICE_ENABLED,
|
||||||
YarnConfiguration.DEFAULT_APPLICATION_HISTORY_ENABLED) &&
|
YarnConfiguration.DEFAULT_TIMELINE_SERVICE_ENABLED) &&
|
||||||
conf.getBoolean(YarnConfiguration.RM_SYSTEM_METRICS_PUBLISHER_ENABLED,
|
conf.getBoolean(YarnConfiguration.RM_SYSTEM_METRICS_PUBLISHER_ENABLED,
|
||||||
YarnConfiguration.DEFAULT_RM_SYSTEM_METRICS_PUBLISHER_ENABLED);
|
YarnConfiguration.DEFAULT_RM_SYSTEM_METRICS_PUBLISHER_ENABLED);
|
||||||
|
|
||||||
|
|
|
@ -66,7 +66,7 @@ public class TestSystemMetricsPublisher {
|
||||||
@BeforeClass
|
@BeforeClass
|
||||||
public static void setup() throws Exception {
|
public static void setup() throws Exception {
|
||||||
YarnConfiguration conf = new YarnConfiguration();
|
YarnConfiguration conf = new YarnConfiguration();
|
||||||
conf.setBoolean(YarnConfiguration.APPLICATION_HISTORY_ENABLED, true);
|
conf.setBoolean(YarnConfiguration.TIMELINE_SERVICE_ENABLED, true);
|
||||||
conf.setBoolean(YarnConfiguration.RM_SYSTEM_METRICS_PUBLISHER_ENABLED, true);
|
conf.setBoolean(YarnConfiguration.RM_SYSTEM_METRICS_PUBLISHER_ENABLED, true);
|
||||||
conf.setClass(YarnConfiguration.TIMELINE_SERVICE_STORE,
|
conf.setClass(YarnConfiguration.TIMELINE_SERVICE_STORE,
|
||||||
MemoryTimelineStore.class, TimelineStore.class);
|
MemoryTimelineStore.class, TimelineStore.class);
|
||||||
|
|
Loading…
Reference in New Issue