HDFS-11363. Need more diagnosis info when seeing Slow waitForAckedSeqno.
(cherry picked from commit 0914fcca312b5e9d20bcf1b6633bc13c9034ba46)
This commit is contained in:
parent
c699ce70ea
commit
b0a1703f10
@ -847,8 +847,9 @@ void waitForAckedSeqno(long seqno) throws IOException {
|
|||||||
}
|
}
|
||||||
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…
x
Reference in New Issue
Block a user