HBASE-16589 Adjust log level for FATAL messages from HBaseReplicationEndpoint that are not fatal

This commit is contained in:
Andrew Purtell 2016-09-08 13:03:12 -07:00
parent d7e5c6fa8e
commit 46c756a4a7
1 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ public abstract class HBaseReplicationEndpoint extends BaseReplicationEndpoint
@Override
public void abort(String why, Throwable e) {
LOG.fatal("The HBaseReplicationEndpoint corresponding to peer " + ctx.getPeerId()
LOG.error("The HBaseReplicationEndpoint corresponding to peer " + ctx.getPeerId()
+ " was aborted for the following reason(s):" + why, e);
}
@ -218,7 +218,7 @@ public abstract class HBaseReplicationEndpoint extends BaseReplicationEndpoint
LOG.info("Detected change to peer region servers, fetching updated list");
replicationEndpoint.setRegionServers(fetchSlavesAddresses(replicationEndpoint.getZkw()));
} catch (KeeperException e) {
LOG.fatal("Error reading slave addresses", e);
LOG.error("Error reading slave addresses", e);
}
}
}