You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@helix.apache.org by ka...@apache.org on 2014/07/15 20:17:23 UTC

[4/4] git commit: [HELIX-452] Increase frequency of status update cleanup, 0.7 fix

[HELIX-452] Increase frequency of status update cleanup, 0.7 fix


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

Branch: refs/heads/master
Commit: a9e96ea069c8eb7e106f14ca3331518048dd7cdd
Parents: ff90070
Author: Kanak Biscuitwala <ka...@apache.org>
Authored: Tue Jul 15 11:16:25 2014 -0700
Committer: Kanak Biscuitwala <ka...@apache.org>
Committed: Tue Jul 15 11:16:25 2014 -0700

----------------------------------------------------------------------
 .../apache/helix/controller/stages/BestPossibleStateCalcStage.java | 2 +-
 .../main/java/org/apache/helix/monitoring/ZKPathDataDumpTask.java  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/helix/blob/a9e96ea0/helix-core/src/main/java/org/apache/helix/controller/stages/BestPossibleStateCalcStage.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/BestPossibleStateCalcStage.java b/helix-core/src/main/java/org/apache/helix/controller/stages/BestPossibleStateCalcStage.java
index 003be3c..364c370 100644
--- a/helix-core/src/main/java/org/apache/helix/controller/stages/BestPossibleStateCalcStage.java
+++ b/helix-core/src/main/java/org/apache/helix/controller/stages/BestPossibleStateCalcStage.java
@@ -89,7 +89,7 @@ public class BestPossibleStateCalcStage extends AbstractBaseStage {
             cache.getInstanceConfigMap(), resourceMap, cache.getStateModelDefMap());
       }
     } catch (Exception e) {
-      logger.error("Could not update cluster status metrics!", e);
+      LOG.error("Could not update cluster status metrics!", e);
     }
 
     long endTime = System.currentTimeMillis();

http://git-wip-us.apache.org/repos/asf/helix/blob/a9e96ea0/helix-core/src/main/java/org/apache/helix/monitoring/ZKPathDataDumpTask.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/monitoring/ZKPathDataDumpTask.java b/helix-core/src/main/java/org/apache/helix/monitoring/ZKPathDataDumpTask.java
index 2ab1be3..2f5f773 100644
--- a/helix-core/src/main/java/org/apache/helix/monitoring/ZKPathDataDumpTask.java
+++ b/helix-core/src/main/java/org/apache/helix/monitoring/ZKPathDataDumpTask.java
@@ -76,7 +76,7 @@ public class ZKPathDataDumpTask extends TimerTask {
       String errorPath =
           HelixUtil.getInstancePropertyPath(_manager.getClusterName(), instance,
               PropertyType.ERRORS);
-      dump(baseAccessor, errorPath, _thresholdNoChangeInMs * 3);
+      dump(baseAccessor, errorPath, _thresholdNoChangeInMs * 96);
     }
     // dump controller status updates
     String controllerStatusUpdatePath =