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:17 UTC

svn commit: r1562392 - /hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java

Author: mbertozzi
Date: Wed Jan 29 10:08:17 2014
New Revision: 1562392

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

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

Modified: hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java?rev=1562392&r1=1562391&r2=1562392&view=diff
==============================================================================
--- hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java (original)
+++ hbase/branches/0.98/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java Wed Jan 29 10:08:17 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;
@@ -733,14 +733,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;
             }
           }