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/4f1c60df Tree: http://git-wip-us.apache.org/repos/asf/hive/tree/4f1c60df Diff: http://git-wip-us.apache.org/repos/asf/hive/diff/4f1c60df Branch: refs/heads/branch-3 Commit: 4f1c60df1d6b013658322e4bddc7ccde1208f372 Parents: 96980d3 Author: sergey <ser...@apache.org> Authored: Tue May 1 12:58:22 2018 -0700 Committer: sergey <ser...@apache.org> Committed: Tue May 1 13:05:51 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/4f1c60df/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"); }