HDFS-11363. Need more diagnosis info when seeing Slow waitForAckedSeqno.
This commit is contained in:
parent
3433f572fa
commit
0914fcca31
|
@ -865,8 +865,9 @@ class DataStreamer extends Daemon {
|
||||||
}
|
}
|
||||||
long duration = Time.monotonicNow() - begin;
|
long duration = Time.monotonicNow() - begin;
|
||||||
if (duration > dfsclientSlowLogThresholdMs) {
|
if (duration > dfsclientSlowLogThresholdMs) {
|
||||||
LOG.warn("Slow waitForAckedSeqno took " + duration
|
LOG.warn("Slow waitForAckedSeqno took {}ms (threshold={}ms). File being"
|
||||||
+ "ms (threshold=" + dfsclientSlowLogThresholdMs + "ms)");
|
+ " written: {}, block: {}, Write pipeline datanodes: {}.",
|
||||||
|
duration, dfsclientSlowLogThresholdMs, src, block, nodes);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue