Impala Public Jenkins has submitted this change and it was merged. ( 
http://gerrit.cloudera.org:8080/22443 )

Change subject: IMPALA-13726 Add admission control slots to /queries page in 
webui
......................................................................

IMPALA-13726 Add admission control slots to /queries page in webui

When tracking resource utilization it is useful to see how many
admission control slots are being used by queries. Add the slots used
by coordinator and executors to the webui queries tables. For
implementation reasons this entails also adding these fields to the
query history and live query tables.

The executor admission control slots are calculated by looking at a
single executor backend. In theory this single number could be
misleading but in practice queries are expected to have symmetrical
slots across executors.

Bump the schema number for the query history schema, and add some new
tests.

Change-Id: I057493b7767902a417dfeb75cdaeffd452d66789
Reviewed-on: http://gerrit.cloudera.org:8080/22443
Reviewed-by: Impala Public Jenkins <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M be/src/exec/system-table-scanner.cc
M be/src/service/client-request-state.h
M be/src/service/impala-http-handler.cc
M be/src/service/query-state-record-test.cc
M be/src/service/query-state-record.cc
M be/src/service/query-state-record.h
M be/src/service/workload-management-worker.cc
M be/src/service/workload-management-worker.h
M be/src/workload_mgmt/workload-management-fields-test.cc
M be/src/workload_mgmt/workload-management-test.cc
M be/src/workload_mgmt/workload-management.cc
M be/src/workload_mgmt/workload-management.h
M common/thrift/SystemTables.thrift
A 
testdata/workloads/functional-query/queries/QueryTest/workload-mgmt-impala_query_live-v1.2.0.test
A 
testdata/workloads/functional-query/queries/QueryTest/workload-mgmt-impala_query_log-v1.2.0.test
M tests/custom_cluster/test_query_live.py
M tests/custom_cluster/test_workload_mgmt_init.py
M tests/util/workload_management.py
M www/queries.tmpl
M www/query_detail_tabs.tmpl
20 files changed, 371 insertions(+), 34 deletions(-)

Approvals:
  Impala Public Jenkins: Looks good to me, approved; Verified

--
To view, visit http://gerrit.cloudera.org:8080/22443
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I057493b7767902a417dfeb75cdaeffd452d66789
Gerrit-Change-Number: 22443
Gerrit-PatchSet: 5
Gerrit-Owner: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Andrew Sherman <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>

Reply via email to