|
156 | 156 | import static com.google.common.base.Ticker.systemTicker;
|
157 | 157 | import static com.google.common.base.Verify.verify;
|
158 | 158 | import static com.google.common.collect.ImmutableList.toImmutableList;
|
159 |
| -import static io.airlift.units.DataSize.succinctBytes; |
160 | 159 | import static java.lang.Math.max;
|
161 | 160 | import static java.lang.String.format;
|
162 | 161 | import static java.nio.charset.StandardCharsets.UTF_8;
|
@@ -333,11 +332,11 @@ public static QueryInfo createQueryInfo(
|
333 | 332 | rootStage,
|
334 | 333 | allStages,
|
335 | 334 | peakRunningTasks,
|
336 |
| - succinctBytes(peakUserMemoryReservationInBytes), |
337 |
| - succinctBytes(peakTotalMemoryReservationInBytes), |
338 |
| - succinctBytes(peakTaskUserMemoryInBytes), |
339 |
| - succinctBytes(peakTaskTotalMemoryInBytes), |
340 |
| - succinctBytes(peakNodeTotalMemoryInBytes), |
| 335 | + peakUserMemoryReservationInBytes, |
| 336 | + peakTotalMemoryReservationInBytes, |
| 337 | + peakTaskUserMemoryInBytes, |
| 338 | + peakTaskTotalMemoryInBytes, |
| 339 | + peakNodeTotalMemoryInBytes, |
341 | 340 | session.getRuntimeStats());
|
342 | 341 |
|
343 | 342 | Optional<PrestoSparkExecutionContext> prestoSparkExecutionContext = Optional.empty();
|
@@ -427,8 +426,8 @@ public static StageInfo createStageInfo(QueryId queryId, SubPlan plan, ListMulti
|
427 | 426 | DateTime.now(),
|
428 | 427 | new Distribution().snapshot(),
|
429 | 428 | new RuntimeStats(),
|
430 |
| - succinctBytes(peakUserMemoryReservationInBytes), |
431 |
| - succinctBytes(peakNodeTotalMemoryReservationInBytes), |
| 429 | + peakUserMemoryReservationInBytes, |
| 430 | + peakNodeTotalMemoryReservationInBytes, |
432 | 431 | 1,
|
433 | 432 | 1);
|
434 | 433 | return new StageInfo(
|
|
0 commit comments