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 bf99422096e..aa55a3e2770 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); } } }