helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zzh...@apache.org
Subject git commit: HELIX-81: org.apache.helix.manager.zk.ZKUtil#isClusterSetup() should not log error
Date Tue, 16 Apr 2013 01:34:13 GMT
Updated Branches:
  refs/heads/master 8fa068344 -> c8393f048


HELIX-81: org.apache.helix.manager.zk.ZKUtil#isClusterSetup() should not log error


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

Branch: refs/heads/master
Commit: c8393f0485ceacc97df0894df3889ede0171ffc0
Parents: 8fa0683
Author: zzhang <zzhang5@uci.edu>
Authored: Mon Apr 15 18:34:05 2013 -0700
Committer: zzhang <zzhang5@uci.edu>
Committed: Mon Apr 15 18:34:05 2013 -0700

----------------------------------------------------------------------
 .../java/org/apache/helix/manager/zk/ZKUtil.java   |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-helix/blob/c8393f04/helix-core/src/main/java/org/apache/helix/manager/zk/ZKUtil.java
----------------------------------------------------------------------
diff --git a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKUtil.java b/helix-core/src/main/java/org/apache/helix/manager/zk/ZKUtil.java
index 3082826..78de0ca 100644
--- a/helix-core/src/main/java/org/apache/helix/manager/zk/ZKUtil.java
+++ b/helix-core/src/main/java/org/apache/helix/manager/zk/ZKUtil.java
@@ -76,7 +76,7 @@ public final class ZKUtil
     for(String path:requiredPaths){
       if(!zkClient.exists(path)){
         isValid = false;
-        logger.error("Invalid cluster setup, missing znode path: " + path);
+        logger.info("Invalid cluster setup, missing znode path: " + path);
       }
     }
     return isValid;
@@ -108,7 +108,7 @@ public final class ZKUtil
             for(String path:requiredPaths){
                 if(!zkclient.exists(path)){
                     isValid =false;
-                    logger.error("Invalid instance setup, missing znode path: " + path);
+                    logger.info("Invalid instance setup, missing znode path: " + path);
                 }
             }
             return isValid;


Mime
View raw message