Surya Hebbar has uploaded a new patch set (#2). (
http://gerrit.cloudera.org:8080/22043 )
Change subject: IMPALA-13474: Support query timeline display for experimental
profile
......................................................................
IMPALA-13474: Support query timeline display for experimental profile
The query timeline display in the webUI only partially supports the
experimental profile, i.e. only cpu usage, disk and network metrics
are displayed, when impala is started with gen_experimental_profile=true.
With the inclusion of aggregate event sequence metrics, now the
fragment events' timeline is fully supported for both profile formats.
As the query profile now contains the aggregated metrics themselves,
the rendering speed and efficiency have greatly increased, while
handling a large number of nodes.
Previously to accomodate missing timestamps, additional steps
were required while collecting fragment events from the profile.
With the use of aggregated event sequences, these computations
are no longer necessary.
The structure of each 'events' element in the experimental profile and
the averaged fragment's profile is as follows -
{
no_bar : < Boolean value is set, if event is not to be rendered >
ts_list : < All instances' timestamps for this event >
ts_stat : {
count : < Number of timestamps in each of the 5 buckets >
avg : < Average of timestamps in each of the 5 buckets >
min : < Minimum timestamp in each of the 5 buckets >
max : < Maximum timestamp in each of the 5 buckets >
}
}
Note : Here 'ts_stat' is only present in case timestamps are aggregated
into divisions or buckets, otherwise only 'ts_list' will be present.
To maintain support for both old and the new aggregated profile formats
within the imported query profiles section, depending on the JSON's
contents, a switch is made to execute legacy methods instead.
Change-Id: Id03b4f9ad4162ec39a68a5a511e0f4d8957873f7
---
M www/scripts/query_timeline/fragment_diagram.js
1 file changed, 572 insertions(+), 178 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/43/22043/2
--
To view, visit http://gerrit.cloudera.org:8080/22043
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id03b4f9ad4162ec39a68a5a511e0f4d8957873f7
Gerrit-Change-Number: 22043
Gerrit-PatchSet: 2
Gerrit-Owner: Surya Hebbar <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Kurt Deschler <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>