You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@slider.apache.org by jm...@apache.org on 2014/12/04 16:37:42 UTC
incubator-slider git commit: SLIDER-629 add call to setup container
failure window
Repository: incubator-slider
Updated Branches:
refs/heads/develop 957eb1a25 -> e292398bd
SLIDER-629 add call to setup container failure window
Project: http://git-wip-us.apache.org/repos/asf/incubator-slider/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-slider/commit/e292398b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-slider/tree/e292398b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-slider/diff/e292398b
Branch: refs/heads/develop
Commit: e292398bd7cc45f7b8f15ff28d0296da639701a1
Parents: 957eb1a
Author: Jon Maron <jm...@hortonworks.com>
Authored: Thu Dec 4 10:37:17 2014 -0500
Committer: Jon Maron <jm...@hortonworks.com>
Committed: Thu Dec 4 10:37:17 2014 -0500
----------------------------------------------------------------------
.../java/org/apache/slider/server/appmaster/SliderAppMaster.java | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-slider/blob/e292398b/slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java
----------------------------------------------------------------------
diff --git a/slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java b/slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java
index a84cf52..05f2faa 100644
--- a/slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java
+++ b/slider-core/src/main/java/org/apache/slider/server/appmaster/SliderAppMaster.java
@@ -893,6 +893,8 @@ public class SliderAppMaster extends AbstractSliderLaunchedService
log.info("Application Master Initialization Completed");
initCompleted.set(true);
+ scheduleFailureWindowResets(instanceDefinition.getResources());
+
try {
// start handling any scheduled events