ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From swa...@apache.org
Subject git commit: AMBARI-4282. Execption in log for Rolling Restart Command. Additional fix. (swagle)
Date Tue, 14 Jan 2014 01:08:18 GMT
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 <swagle@hortonworks.com>
Authored: Mon Jan 13 17:07:56 2014 -0800
Committer: Siddharth Wagle <swagle@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()


Mime
View raw message