Skip to content

Commit

Permalink
HDFS-11363. Need more diagnosis info when seeing Slow waitForAckedSeqno.
Browse files Browse the repository at this point in the history
  • Loading branch information
xiao-chen committed Feb 2, 2017
1 parent 3433f57 commit 0914fcc
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -865,8 +865,9 @@ void waitForAckedSeqno(long seqno) throws IOException {
}
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);
}
}
}
Expand Down

0 comments on commit 0914fcc

Please sign in to comment.