Skip to content

Commit

Permalink
[VL][uniffle] Correct the write wait duration log (apache#6994)
Browse files Browse the repository at this point in the history
  • Loading branch information
zuston authored and shamirchen committed Oct 14, 2024
1 parent 5919a70 commit 59ed58c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -226,11 +226,11 @@ public long spill(MemoryTarget self, Spiller.Phase phase, long size) {
// clear all
sendRestBlockAndWait();
sendCommit();
long writeDurationMs = System.nanoTime() - pushMergedDataTime;
shuffleWriteMetrics.incWriteTime(writeDurationMs);
long writeDurationNanos = System.nanoTime() - pushMergedDataTime;
shuffleWriteMetrics.incWriteTime(writeDurationNanos);
LOG.info(
"Finish write shuffle with rest write {} ms",
TimeUnit.MILLISECONDS.toNanos(writeDurationMs));
TimeUnit.NANOSECONDS.toMillis(writeDurationNanos));
}

@Override
Expand Down

0 comments on commit 59ed58c

Please sign in to comment.