You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sw...@apache.org on 2014/01/14 02:08:18 UTC
git commit: AMBARI-4282. Execption in log for Rolling Restart
Command. Additional fix. (swagle)
Updated Branches:
refs/heads/trunk 144755b2b -> 04fa77eba
AMBARI-4282. Execption in log for Rolling Restart Command. Additional fix. (swagle)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/04fa77eb
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/04fa77eb
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/04fa77eb
Branch: refs/heads/trunk
Commit: 04fa77eba7ea087a85b54d036ebf502fbea458a9
Parents: 144755b
Author: Siddharth Wagle <sw...@hortonworks.com>
Authored: Mon Jan 13 17:07:56 2014 -0800
Committer: Siddharth Wagle <sw...@hortonworks.com>
Committed: Mon Jan 13 17:07:56 2014 -0800
----------------------------------------------------------------------
.../ambari/server/scheduler/AbstractLinearExecutionJob.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/04fa77eb/ambari-server/src/main/java/org/apache/ambari/server/scheduler/AbstractLinearExecutionJob.java
----------------------------------------------------------------------
diff --git a/ambari-server/src/main/java/org/apache/ambari/server/scheduler/AbstractLinearExecutionJob.java b/ambari-server/src/main/java/org/apache/ambari/server/scheduler/AbstractLinearExecutionJob.java
index 7570a69..5fdd77e 100644
--- a/ambari-server/src/main/java/org/apache/ambari/server/scheduler/AbstractLinearExecutionJob.java
+++ b/ambari-server/src/main/java/org/apache/ambari/server/scheduler/AbstractLinearExecutionJob.java
@@ -97,8 +97,7 @@ public abstract class AbstractLinearExecutionJob implements ExecutionJob {
return;
}
- Integer separationSeconds = jobDataMap.getIntegerFromString(
- (NEXT_EXECUTION_SEPARATION_SECONDS));
+ int separationSeconds = jobDataMap.getIntValue((NEXT_EXECUTION_SEPARATION_SECONDS));
// Create trigger for next job execution
Trigger trigger = newTrigger()