diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/shortcircuit/ShortCircuitCache.java b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/shortcircuit/ShortCircuitCache.java index 5acac2fa02..d3eb3ac0da 100644 --- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/shortcircuit/ShortCircuitCache.java +++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/shortcircuit/ShortCircuitCache.java @@ -202,10 +202,11 @@ public void run() { LOG.trace("{}: released {}", this, slot); success = true; } catch (IOException e) { - LOG.error(ShortCircuitCache.this + ": failed to release " + - "short-circuit shared memory slot " + slot + " by sending " + - "ReleaseShortCircuitAccessRequestProto to " + path + - ". Closing shared memory segment.", e); + LOG.warn(ShortCircuitCache.this + ": failed to release " + + "short-circuit shared memory slot " + slot + " by sending " + + "ReleaseShortCircuitAccessRequestProto to " + path + + ". Closing shared memory segment. " + + "DataNode may have been stopped or restarted", e); } finally { if (success) { shmManager.freeSlot(slot);