HDFS-7283. Bump DataNode OOM log from WARN to ERROR. Contributed by Stephen Chu.
This commit is contained in:
parent
0942c99eba
commit
b3d8a642a9
|
@ -303,6 +303,9 @@ Release 2.7.0 - UNRELEASED
|
||||||
HDFS-7223. Tracing span description of IPC client is too long (iwasakims
|
HDFS-7223. Tracing span description of IPC client is too long (iwasakims
|
||||||
via cmccabe)
|
via cmccabe)
|
||||||
|
|
||||||
|
HDFS-7283. Bump DataNode OOM log from WARN to ERROR.
|
||||||
|
(Stephen Chu via wheat9)
|
||||||
|
|
||||||
OPTIMIZATIONS
|
OPTIMIZATIONS
|
||||||
|
|
||||||
BUG FIXES
|
BUG FIXES
|
||||||
|
|
|
@ -161,7 +161,7 @@ class DataXceiverServer implements Runnable {
|
||||||
// DataNode can run out of memory if there is too many transfers.
|
// DataNode can run out of memory if there is too many transfers.
|
||||||
// Log the event, Sleep for 30 seconds, other transfers may complete by
|
// Log the event, Sleep for 30 seconds, other transfers may complete by
|
||||||
// then.
|
// 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 {
|
try {
|
||||||
Thread.sleep(30 * 1000);
|
Thread.sleep(30 * 1000);
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
|
|
Loading…
Reference in New Issue