Surya Hebbar has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/21482


Change subject: IMPALA-13137: Add additional client fetch metrics columns to 
the queries page
......................................................................

IMPALA-13137: Add additional client fetch metrics columns to the queries page

For helping users to better understand query execution times.
The following columns have been added to the queries page.
  - First row fetched time
  - Client fetch wait time

The duration needed to fetch the first row is already present in the
query state record. This timestamp has to be found by matching the label
"First row fetched" within the query state record's 'event_sequence'.

The time taken for the client to fetch all rows is monitored by
the "ClientFetchWaitTimer" in client request state. To incorporate this
into the query state record, the following new attribute has been added.
  - client_fetch_wait_time_ns

In order to constantly retrieve and update this value, a new method has
been added to expose the private counter holding "ClientFetchWaitTimer".

The duration for both these columns is printed in human readable format,
after converting from nanoseconds.

Tips for the two additional columns have also been added to the queries
page.

Change-Id: I74a9393a7b38750de0c3f6230b6e5e048048c4b5
---
M be/src/service/client-request-state.h
M be/src/service/impala-http-handler.cc
M be/src/service/query-state-record.cc
M be/src/service/query-state-record.h
M www/queries.tmpl
5 files changed, 49 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/82/21482/1
--
To view, visit http://gerrit.cloudera.org:8080/21482
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I74a9393a7b38750de0c3f6230b6e5e048048c4b5
Gerrit-Change-Number: 21482
Gerrit-PatchSet: 1
Gerrit-Owner: Surya Hebbar <sheb...@cloudera.com>

Reply via email to