HBASE-14042 Fix FATAL level logging in FSHLog where logged for non fatal exceptions
This commit is contained in:
parent
f5ad736282
commit
41c8ec7aea
|
@ -1844,7 +1844,7 @@ public class FSHLog implements WAL {
|
||||||
// Update metrics.
|
// Update metrics.
|
||||||
postAppend(entry, EnvironmentEdgeManager.currentTime() - start);
|
postAppend(entry, EnvironmentEdgeManager.currentTime() - start);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOG.fatal("Could not append. Requesting close of wal", e);
|
LOG.warn("Could not append. Requesting close of wal", e);
|
||||||
requestLogRoll();
|
requestLogRoll();
|
||||||
throw e;
|
throw e;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue