You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hbase.apache.org by mb...@apache.org on 2014/01/29 11:08:06 UTC

svn commit: r1562391 - /hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java

Author: mbertozzi
Date: Wed Jan 29 10:08:06 2014
New Revision: 1562391

URL: http://svn.apache.org/r1562391
Log:
HBASE-10435 Lower the log level of Canary region server match

Modified:
    hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java

Modified: hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
URL: http://svn.apache.org/viewvc/hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java?rev=1562391&r1=1562390&r2=1562391&view=diff
==============================================================================
--- hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java (original)
+++ hbase/trunk/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java Wed Jan 29 10:08:06 2014
@@ -425,7 +425,7 @@ public final class Canary implements Too
         if(tmpTables.size() > 0) {
           returnTables = tmpTables.toArray(new String[tmpTables.size()]);
         } else {
-          String msg = "No any HTable found, tablePattern:"
+          String msg = "No HTable found, tablePattern:"
               + Arrays.toString(monitorTargets);
           LOG.error(msg);
           this.errorCode = INIT_ERROR_EXIT_CODE;
@@ -734,14 +734,14 @@ public final class Canary implements Too
               }
             }
             if (!regExpFound) {
-              LOG.error("No any RegionServerInfo found, regionServerPattern:" + rsName);
+              LOG.info("No RegionServerInfo found, regionServerPattern:" + rsName);
               this.errorCode = INIT_ERROR_EXIT_CODE;
             }
           } else {
             if (fullRsAndRMap.containsKey(rsName)) {
               filteredRsAndRMap.put(rsName, fullRsAndRMap.get(rsName));
             } else {
-              LOG.error("No any RegionServerInfo found, regionServerName:" + rsName);
+              LOG.info("No RegionServerInfo found, regionServerName:" + rsName);
               this.errorCode = INIT_ERROR_EXIT_CODE;
             }
           }