oozie-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m...@apache.org
Subject git commit: OOZIE-1984 SLACalculator in HA mode performs duplicate operations on records with completed jobs(mona)
Date Thu, 28 Aug 2014 23:03:25 GMT
Repository: oozie
Updated Branches:
  refs/heads/branch-4.1 f94b01b07 -> ceeb54f8a


OOZIE-1984 SLACalculator in HA mode performs duplicate operations on records with completed
jobs(mona)


Project: http://git-wip-us.apache.org/repos/asf/oozie/repo
Commit: http://git-wip-us.apache.org/repos/asf/oozie/commit/ceeb54f8
Tree: http://git-wip-us.apache.org/repos/asf/oozie/tree/ceeb54f8
Diff: http://git-wip-us.apache.org/repos/asf/oozie/diff/ceeb54f8

Branch: refs/heads/branch-4.1
Commit: ceeb54f8a4ec7e0be0371658f0f6f62a4df3037f
Parents: f94b01b
Author: mona <chitnis@yahoo-inc.com>
Authored: Thu Aug 28 16:03:16 2014 -0700
Committer: mona <chitnis@yahoo-inc.com>
Committed: Thu Aug 28 16:03:16 2014 -0700

----------------------------------------------------------------------
 core/src/main/java/org/apache/oozie/sla/SLACalculatorMemory.java | 4 ++--
 release-log.txt                                                  | 1 +
 2 files changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/oozie/blob/ceeb54f8/core/src/main/java/org/apache/oozie/sla/SLACalculatorMemory.java
----------------------------------------------------------------------
diff --git a/core/src/main/java/org/apache/oozie/sla/SLACalculatorMemory.java b/core/src/main/java/org/apache/oozie/sla/SLACalculatorMemory.java
index 3801325..a96e55d 100644
--- a/core/src/main/java/org/apache/oozie/sla/SLACalculatorMemory.java
+++ b/core/src/main/java/org/apache/oozie/sla/SLACalculatorMemory.java
@@ -737,8 +737,8 @@ public class SLACalculatorMemory implements SLACalculator {
                                           // but not actually configured for SLA
                     SLASummaryBean slaSummaryBean = SLASummaryQueryExecutor.getInstance().get(
                             SLASummaryQuery.GET_SLA_SUMMARY, jobId);
-                    slaCalc = new SLACalcStatus(slaSummaryBean, slaRegBean);
-                    if (slaCalc.getEventProcessed() < 7) {
+                    if (slaSummaryBean.getEventProcessed() < 7) {
+                        slaCalc = new SLACalcStatus(slaSummaryBean, slaRegBean);
                         slaMap.put(jobId, slaCalc);
                     }
                 }

http://git-wip-us.apache.org/repos/asf/oozie/blob/ceeb54f8/release-log.txt
----------------------------------------------------------------------
diff --git a/release-log.txt b/release-log.txt
index b2c59d7..2067607 100644
--- a/release-log.txt
+++ b/release-log.txt
@@ -1,5 +1,6 @@
 -- Oozie 4.1.0 release (4.1 - unreleased)
 
+OOZIE-1984 SLACalculator in HA mode performs duplicate operations on records with completed
jobs (mona)
 OOZIE-1958 address duplication of env variables in oozie.launcher.yarn.app.mapreduce.am.env
when running with uber mode (ryota)
 OOZIE-1920 Capture Output for SSH Action doesn't work (Richard Williams via rkanter)
 OOZIE-1961 Remove requireJavaVersion from enforcer rules (lars_francke via rkanter)


Mime
View raw message