HIVE-19363 : remove cryptic metrics from LLAP IO output (Sergey Shelukhin, reviewed by Prasanth Jayachandran)
Project: http://git-wip-us.apache.org/repos/asf/hive/repo Commit: http://git-wip-us.apache.org/repos/asf/hive/commit/a101c2fb Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/a101c2fb Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/a101c2fb Branch: refs/heads/master Commit: a101c2fb9e611c0dbef2669105a6a61d6c0c6292 Parents: cf85923 Author: sergey <[email protected]> Authored: Tue May 1 12:58:22 2018 -0700 Committer: sergey <[email protected]> Committed: Tue May 1 13:05:48 2018 -0700 ---------------------------------------------------------------------- .../hive/ql/exec/tez/monitoring/LLAPioSummary.java | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hive/blob/a101c2fb/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/LLAPioSummary.java ---------------------------------------------------------------------- diff --git a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/LLAPioSummary.java b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/LLAPioSummary.java index 1d13a06..3db603f 100644 --- a/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/LLAPioSummary.java +++ b/ql/src/java/org/apache/hadoop/hive/ql/exec/tez/monitoring/LLAPioSummary.java @@ -35,11 +35,10 @@ import static org.apache.hadoop.hive.ql.exec.tez.monitoring.TezJobMonitor.getCou public class LLAPioSummary implements PrintSummary { - private static final String LLAP_SUMMARY_HEADER_FORMAT = "%10s %9s %9s %10s %9s %10s %11s %8s %9s"; + private static final String LLAP_SUMMARY_HEADER_FORMAT = "%10s %9s %9s %10s %9s %10s %9s"; private static final String LLAP_IO_SUMMARY_HEADER = "LLAP IO Summary"; private static final String LLAP_SUMMARY_HEADER = String.format(LLAP_SUMMARY_HEADER_FORMAT, - "VERTICES", "ROWGROUPS", "META_HIT", "META_MISS", "DATA_HIT", "DATA_MISS", - "ALLOCATION", "USED", "TOTAL_IO"); + "VERTICES", "ROWGROUPS", "META_HIT", "META_MISS", "DATA_HIT", "DATA_MISS", "TOTAL_IO"); @@ -93,10 +92,6 @@ public class LLAPioSummary implements PrintSummary { counterGroup, LlapIOCounters.CACHE_HIT_BYTES.name()); final long cacheMissBytes = getCounterValueByGroupName(vertexCounters, counterGroup, LlapIOCounters.CACHE_MISS_BYTES.name()); - final long allocatedBytes = getCounterValueByGroupName(vertexCounters, - counterGroup, LlapIOCounters.ALLOCATED_BYTES.name()); - final long allocatedUsedBytes = getCounterValueByGroupName(vertexCounters, - counterGroup, LlapIOCounters.ALLOCATED_USED_BYTES.name()); final long totalIoTime = getCounterValueByGroupName(vertexCounters, counterGroup, LlapIOCounters.TOTAL_IO_TIME_NS.name()); @@ -108,8 +103,6 @@ public class LLAPioSummary implements PrintSummary { metadataCacheMiss, Utilities.humanReadableByteCount(cacheHitBytes), Utilities.humanReadableByteCount(cacheMissBytes), - Utilities.humanReadableByteCount(allocatedBytes), - Utilities.humanReadableByteCount(allocatedUsedBytes), secondsFormatter.format(totalIoTime / 1000_000_000.0) + "s"); }
