public ShuffleReadMetrics(TaskMetrics metrics) { this(metrics.shuffleReadMetrics().remoteBlocksFetched(), metrics.shuffleReadMetrics().localBlocksFetched(), metrics.shuffleReadMetrics().fetchWaitTime(), metrics.shuffleReadMetrics().remoteBytesRead(), metrics.shuffleReadMetrics().localBytesRead(), metrics.shuffleReadMetrics().remoteBytesReadToDisk(), metrics.shuffleReadMetrics().recordsRead()); }
public ShuffleReadMetrics(TaskMetrics metrics) { this(metrics.shuffleReadMetrics().get().remoteBlocksFetched(), metrics.shuffleReadMetrics().get().localBlocksFetched(), metrics.shuffleReadMetrics().get().fetchWaitTime(), metrics.shuffleReadMetrics().get().remoteBytesRead()); }
public ShuffleReadMetrics(TaskMetrics metrics) { this(metrics.shuffleReadMetrics().get().remoteBlocksFetched(), metrics.shuffleReadMetrics().get().localBlocksFetched(), metrics.shuffleReadMetrics().get().fetchWaitTime(), metrics.shuffleReadMetrics().get().remoteBytesRead()); }
if (!shuffleReadMetricsOption.isEmpty()) { shuffleReadMetricExist = true; remoteBlocksFetched += shuffleReadMetricsOption.get().remoteBlocksFetched(); localBlocksFetched += shuffleReadMetricsOption.get().localBlocksFetched(); fetchWaitTime += shuffleReadMetricsOption.get().fetchWaitTime();
if (!shuffleReadMetricsOption.isEmpty()) { shuffleReadMetricExist = true; remoteBlocksFetched += shuffleReadMetricsOption.get().remoteBlocksFetched(); localBlocksFetched += shuffleReadMetricsOption.get().localBlocksFetched(); fetchWaitTime += shuffleReadMetricsOption.get().fetchWaitTime();
tryToSet(() -> taskEventBuilder.setShuffleReadTotalBytes(taskEnd.taskMetrics().shuffleReadMetrics().totalBytesRead())); tryToSet(() -> taskEventBuilder.setShuffleReadLocalBlocksFetched(taskEnd.taskMetrics().shuffleReadMetrics().localBlocksFetched())); tryToSet(() -> taskEventBuilder.setShuffleReadRemoteBlocksFetched(taskEnd.taskMetrics().shuffleReadMetrics().remoteBlocksFetched())); tryToSet(() -> taskEventBuilder.setShuffleReadTotalBlocksFetched(taskEnd.taskMetrics().shuffleReadMetrics().totalBlocksFetched())); tryToSet(() -> taskEventBuilder.setShuffleWriteShuffleRecords(taskEnd.taskMetrics().shuffleWriteMetrics().shuffleRecordsWritten()));
.localBlocksFetched())); tryToSet(() -> stageEventBuilder.setShuffleReadRemoteBlocksFetched(stageCompleted.stageInfo().taskMetrics().shuffleReadMetrics() .remoteBlocksFetched())); tryToSet(() -> stageEventBuilder.setShuffleReadTotalBlocksFetched(stageCompleted.stageInfo().taskMetrics().shuffleReadMetrics() .totalBlocksFetched()));