impala-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henry Robinson (Code Review)" <ger...@cloudera.org>
Subject [Impala-ASF-CR] IMPALA-1474: Add a metric for running queries
Date Tue, 20 Jun 2017 00:34:04 GMT
Henry Robinson has uploaded a new change for review.

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

Change subject: IMPALA-1474: Add a metric for running queries
......................................................................

IMPALA-1474: Add a metric for running queries

impala-server.num-queries-in-flight is a gauge that counts all running
queries (including DDL and DML statements). Queries waiting to be
unregistered are included in the count.

Testing: checked completed, in-flight and cancelled queries. Added some
coverage to the HS2 test suite, and the query lifecycle tests.

Change-Id: I41bc88d0e91427ca2fd70136dc6e06fa7a2663da
---
M be/src/runtime/query-exec-mgr.cc
M be/src/runtime/query-state.cc
M be/src/service/client-request-state.cc
M be/src/service/impala-hs2-server.cc
M be/src/service/impala-server.cc
M be/src/service/impalad-main.cc
M be/src/service/session-expiry-test.cc
M be/src/util/impalad-metrics.cc
M be/src/util/impalad-metrics.h
M common/thrift/metrics.json
M tests/hs2/hs2_test_suite.py
M tests/hs2/test_fetch.py
M tests/query_test/test_lifecycle.py
13 files changed, 119 insertions(+), 77 deletions(-)


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I41bc88d0e91427ca2fd70136dc6e06fa7a2663da
Gerrit-PatchSet: 1
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-Owner: Henry Robinson <henry@cloudera.com>

Mime
View raw message