Hello Kurt Deschler, Csaba Ringhofer, Impala Public Jenkins,

I'd like you to reexamine a change. Please visit

    http://gerrit.cloudera.org:8080/19897

to look at the new patch set (#2).

Change subject: IMPALA-10180: Add summary stats for client fetch wait time
......................................................................

IMPALA-10180: Add summary stats for client fetch wait time

This adds ClientFetchWaitTimeStats to the runtime profile
to track the min/max/# of samples for ClientFetchWaitTimer.
Here is some sample output:
- ClientFetchWaitTimeStats: (Avg: 161.554ms ; Min: 101.411ms ; Max: 461.728ms ; 
Number of samples: 6)
- ClientFetchWaitTimer: 969.326ms

This also fixes the definition of ClientFetchWaitTimer to avoid
including time after end of fetch. When the client is closing
the query, Finalize() gets called. The Finalize() call should
only add extra client wait time if fetch has not completed.

Testing:
 - Added test cases in query_test/test_fetch.py with specific
   numbers of fetches and verification of the statistics.
 - The test cases make use of a new function for parsing
   summary stats for timers, and this also gets its own test
   case.

Change-Id: I9ca525285e03c7b51b04ac292f7b3531e6178218
---
M be/src/service/client-request-state.cc
M be/src/service/client-request-state.h
M tests/infra/test_utils.py
M tests/query_test/test_fetch.py
M tests/util/parse_util.py
5 files changed, 180 insertions(+), 3 deletions(-)


  git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/97/19897/2
--
To view, visit http://gerrit.cloudera.org:8080/19897
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: I9ca525285e03c7b51b04ac292f7b3531e6178218
Gerrit-Change-Number: 19897
Gerrit-PatchSet: 2
Gerrit-Owner: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Kurt Deschler <[email protected]>

Reply via email to