HBASE-10770 Don't exit from the Canary daemon mode if no regions are present

git-svn-id: https://svn.apache.org/repos/asf/hbase/trunk@1578606 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
mbertozzi 2014-03-17 21:37:40 +00:00
parent 42bbd86270
commit 11b3ce7f82
1 changed files with 0 additions and 2 deletions

View File

@ -735,14 +735,12 @@ public final class Canary implements Tool {
}
if (!regExpFound) {
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.info("No RegionServerInfo found, regionServerName:" + rsName);
this.errorCode = INIT_ERROR_EXIT_CODE;
}
}
}