You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@impala.apache.org by "Tim Armstrong (JIRA)" <ji...@apache.org> on 2017/11/02 20:49:00 UTC
[jira] [Created] (IMPALA-6147) Thrift profile includes counters not
directly shown in text profile
Tim Armstrong created IMPALA-6147:
-------------------------------------
Summary: Thrift profile includes counters not directly shown in text profile
Key: IMPALA-6147
URL: https://issues.apache.org/jira/browse/IMPALA-6147
Project: IMPALA
Issue Type: Bug
Components: Backend
Affects Versions: Impala 2.10.0
Reporter: Tim Armstrong
Priority: Minor
InactiveTotalTime and TotalTime show up in the thrift profiles but aren't explicitly shown in the Impala pretty-printed text profile.
TotalTime and InactiveTotalTime are handled specially - they are factored into the timings printed in the header of each profile section, e.g {{HDFS_SCAN_NODE (id=5):(Total: 10.213ms, non-child: 10.213ms, % non-child: 100.00%)}}. InactiveTotalTime is non-zero only for exchange nodes.
Impala does a calculation involving those two counters: https://github.com/apache/incubator-impala/blob/7866eec5bdcbf9194a4aad2c87c354cbaad7b802/be/src/util/runtime-profile.cc#L362 then prints the result in the text profile: https://github.com/apache/incubator-impala/blob/7866eec5bdcbf9194a4aad2c87c354cbaad7b802/be/src/util/runtime-profile.cc#L625
We should include/exclude things from the thrift profile that prevent consumers of the thrift profile from presenting identical information to the pretty-printed text profiles.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)