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:
parent
42bbd86270
commit
11b3ce7f82
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue