HDFS-11363. Need more diagnosis info when seeing Slow waitForAckedSeqno.
(cherry picked from commit 0914fcca31
)
This commit is contained in:
parent
c699ce70ea
commit
b0a1703f10
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue