Qifan Chen has uploaded this change for review. ( 
http://gerrit.cloudera.org:8080/16220


Change subject: WIP CDPD-8989 Improve admission control pool stats logging to 
be more explicit
......................................................................

WIP CDPD-8989 Improve admission control pool stats logging to be more
explicit

This work addresses the current limitation in admission controller by
appending the last known memory consumption statistics about a host to
the existing host memory exhaustion message. The message is logged in
impalad.INFO when a query is queued or timed out due to memory exhaustion
at the host.

This new memory consumption statistics covers the following content:
  num_running: the total number of queries running
  top_queries: a list of query Ids for up to 5 queries with top memory
               consumptions
  min: the minimal memory consumption of all running queries
  max: the maximal memory consumption of all running queries
  total: the total memory consumption of all running queries
  average: the average memory consumption of all running queries

One example of the appended string is as follows.
Memory consumed: num_running=2, top_queries=[
dc4fd356433812be:6902546f00000000, c54d5ab3f4773ee8:8fb6a62800000000],
min=12.30 MB, max=12.37 MB, total=24.67 MB, average=12.34 MB

Testing:
TBD

Change-Id: Id995a9d044082c3b8f044e1ec25bb4c64347f781
---
M be/src/runtime/mem-tracker.cc
M be/src/runtime/mem-tracker.h
M be/src/scheduling/admission-controller.cc
M common/thrift/StatestoreService.thrift
4 files changed, 191 insertions(+), 7 deletions(-)



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id995a9d044082c3b8f044e1ec25bb4c64347f781
Gerrit-Change-Number: 16220
Gerrit-PatchSet: 1
Gerrit-Owner: Qifan Chen <qc...@cloudera.com>
Gerrit-Reviewer: Bikramjeet Vig <bikramjeet....@cloudera.com>
Gerrit-Reviewer: Sahil Takiar <stak...@cloudera.com>
Gerrit-Reviewer: Tim Armstrong <tarmstr...@cloudera.com>

Reply via email to