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:24 UTC
svn commit: r1562393 -
/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
Author: mbertozzi
Date: Wed Jan 29 10:08:24 2014
New Revision: 1562393
URL: http://svn.apache.org/r1562393
Log:
HBASE-10435 Lower the log level of Canary region server match
Modified:
hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
Modified: hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java
URL: http://svn.apache.org/viewvc/hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java?rev=1562393&r1=1562392&r2=1562393&view=diff
==============================================================================
--- hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java (original)
+++ hbase/branches/0.96/hbase-server/src/main/java/org/apache/hadoop/hbase/tool/Canary.java Wed Jan 29 10:08:24 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;
@@ -729,14 +729,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;
}
}