HDFS-7283. Bump DataNode OOM log from WARN to ERROR. Contributed by Stephen Chu.

This commit is contained in:
Haohui Mai 2014-10-24 10:50:16 -07:00
parent a4bb56b93b
commit 1f6258f535
2 changed files with 4 additions and 1 deletions

View File

@ -47,6 +47,9 @@ Release 2.7.0 - UNRELEASED
HDFS-7223. Tracing span description of IPC client is too long (iwasakims
via cmccabe)
HDFS-7283. Bump DataNode OOM log from WARN to ERROR.
(Stephen Chu via wheat9)
OPTIMIZATIONS
BUG FIXES

View File

@ -161,7 +161,7 @@ public void run() {
// DataNode can run out of memory if there is too many transfers.
// Log the event, Sleep for 30 seconds, other transfers may complete by
// then.
LOG.warn("DataNode is out of memory. Will retry in 30 seconds.", ie);
LOG.error("DataNode is out of memory. Will retry in 30 seconds.", ie);
try {
Thread.sleep(30 * 1000);
} catch (InterruptedException e) {