falcon-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pall...@apache.org
Subject falcon git commit: FALCON-2146 EntitySlaAlertService runs only once irrespective of the …
Date Wed, 19 Oct 2016 10:55:28 GMT
Repository: falcon
Updated Branches:
  refs/heads/master 21cf37172 -> 145f9bc77


FALCON-2146 EntitySlaAlertService runs only once irrespective of the …

…configured frequency

Author: Praveen Adlakha <adlakha.praveen@gmail.com>

Reviewers: @pallavi-rao

Closes #283 from PraveenAdlakha/2146


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

Branch: refs/heads/master
Commit: 145f9bc779f4fcc66fe47a0fb9ebd6c189c3cd18
Parents: 21cf371
Author: Praveen Adlakha <adlakha.praveen@gmail.com>
Authored: Wed Oct 19 16:25:17 2016 +0530
Committer: Pallavi Rao <pallavi.rao@inmobi.com>
Committed: Wed Oct 19 16:25:17 2016 +0530

----------------------------------------------------------------------
 .../java/org/apache/falcon/service/EntitySLAAlertService.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/falcon/blob/145f9bc7/prism/src/main/java/org/apache/falcon/service/EntitySLAAlertService.java
----------------------------------------------------------------------
diff --git a/prism/src/main/java/org/apache/falcon/service/EntitySLAAlertService.java b/prism/src/main/java/org/apache/falcon/service/EntitySLAAlertService.java
index bcf11e3..9b1a594 100644
--- a/prism/src/main/java/org/apache/falcon/service/EntitySLAAlertService.java
+++ b/prism/src/main/java/org/apache/falcon/service/EntitySLAAlertService.java
@@ -148,8 +148,8 @@ public final class EntitySLAAlertService implements FalconService, EntitySLAList
                     }
                     store.updateSLAAlertInstance(entityName, clusterName, nominalTime, entityType);
                     LOG.info("Entity :{} EntityType : {} Cluster: {} Nominal Time: {} missed
SLAHigh", entityName,
-                            entityType , clusterName , nominalTime);
-                    highSLAMissed(entityName, clusterName, EntityType.valueOf(entityType),
nominalTime);
+                            entityType, clusterName , nominalTime);
+                    highSLAMissed(entityName, clusterName, EntityType.getEnum(entityType),
nominalTime);
                 }
             }
         } catch (FalconException e){


Mime
View raw message