HDFS-14701. Change Log Level to warn in SlotReleaser. Contributed by Lisheng Sun.
This commit is contained in:
parent
23f91f68b8
commit
28a848412c
|
@ -202,10 +202,11 @@ public class ShortCircuitCache implements Closeable {
|
||||||
LOG.trace("{}: released {}", this, slot);
|
LOG.trace("{}: released {}", this, slot);
|
||||||
success = true;
|
success = true;
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
LOG.error(ShortCircuitCache.this + ": failed to release " +
|
LOG.warn(ShortCircuitCache.this + ": failed to release "
|
||||||
"short-circuit shared memory slot " + slot + " by sending " +
|
+ "short-circuit shared memory slot " + slot + " by sending "
|
||||||
"ReleaseShortCircuitAccessRequestProto to " + path +
|
+ "ReleaseShortCircuitAccessRequestProto to " + path
|
||||||
". Closing shared memory segment.", e);
|
+ ". Closing shared memory segment. "
|
||||||
|
+ "DataNode may have been stopped or restarted", e);
|
||||||
} finally {
|
} finally {
|
||||||
if (success) {
|
if (success) {
|
||||||
shmManager.freeSlot(slot);
|
shmManager.freeSlot(slot);
|
||||||
|
|
Loading…
Reference in New Issue