You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by we...@apache.org on 2019/08/08 20:47:03 UTC

[hadoop] branch trunk updated: HDFS-14701. Change Log Level to warn in SlotReleaser. Contributed by Lisheng Sun.

This is an automated email from the ASF dual-hosted git repository.

weichiu pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/hadoop.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 28a8484  HDFS-14701. Change Log Level to warn in SlotReleaser. Contributed by Lisheng Sun.
28a8484 is described below

commit 28a848412c8239dfc6bd3e42dbbfe711e19bc8eb
Author: Wei-Chiu Chuang <we...@apache.org>
AuthorDate: Thu Aug 8 13:46:31 2019 -0700

    HDFS-14701. Change Log Level to warn in SlotReleaser. Contributed by Lisheng Sun.
---
 .../org/apache/hadoop/hdfs/shortcircuit/ShortCircuitCache.java   | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)

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 5acac2f..d3eb3ac 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 class ShortCircuitCache implements Closeable {
         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);


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org