hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From x...@apache.org
Subject hadoop git commit: HDFS-11363. Need more diagnosis info when seeing Slow waitForAckedSeqno.
Date Thu, 02 Feb 2017 18:09:29 GMT
Repository: hadoop
Updated Branches:
  refs/heads/branch-2 c699ce70e -> b0a1703f1


HDFS-11363. Need more diagnosis info when seeing Slow waitForAckedSeqno.

(cherry picked from commit 0914fcca312b5e9d20bcf1b6633bc13c9034ba46)


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b0a1703f
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b0a1703f
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b0a1703f

Branch: refs/heads/branch-2
Commit: b0a1703f102d4fd7abc43cce3e5f30a36cda4dcc
Parents: c699ce7
Author: Xiao Chen <xiao@apache.org>
Authored: Thu Feb 2 10:08:27 2017 -0800
Committer: Xiao Chen <xiao@apache.org>
Committed: Thu Feb 2 10:09:20 2017 -0800

----------------------------------------------------------------------
 .../src/main/java/org/apache/hadoop/hdfs/DataStreamer.java      | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/b0a1703f/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
index bf99422..aa55a3e 100644
--- a/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
+++ b/hadoop-hdfs-project/hadoop-hdfs-client/src/main/java/org/apache/hadoop/hdfs/DataStreamer.java
@@ -847,8 +847,9 @@ class DataStreamer extends Daemon {
       }
       long duration = Time.monotonicNow() - begin;
       if (duration > dfsclientSlowLogThresholdMs) {
-        LOG.warn("Slow waitForAckedSeqno took " + duration
-            + "ms (threshold=" + dfsclientSlowLogThresholdMs + "ms)");
+        LOG.warn("Slow waitForAckedSeqno took {}ms (threshold={}ms). File being"
+                + " written: {}, block: {}, Write pipeline datanodes: {}.",
+            duration, dfsclientSlowLogThresholdMs, src, block, nodes);
       }
     }
   }


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


Mime
View raw message