Lars Volker has uploaded this change for review. (
http://gerrit.cloudera.org:8080/8758
Change subject: IMPALA-6190/6246: Add instances tab and event sequence
......................................................................
IMPALA-6190/6246: Add instances tab and event sequence
This change adds tracking of the current state during the execution of a
fragment instance. The current state is then reported back to the
coordinator and exposed to users via a new tab in the query detail debug
webpage.
This change also adds an event timeline to fragment instances in the
query profile. The timeline measures the time since fragment start at
which particular events complete. Events are derived from the current
state of the execution of a fragment instance. For example:
- Codegen Finished: 79.312ms (79.312ms)
- Prepare Finished: 79.454ms (141.949us)
- Open Finished: 93.287ms (13.832ms)
- First Batch Received: 259.751ms (166.464ms)
- First Batch Sent: 260.219ms (467.917us)
- ExecInternal Finished: 2s733ms (2s473ms)
I added automated tests for both extensions and additionally verified
the change by manual inspection.
Change-Id: I626456b6afa9101eeeeffd5cda10c4096d63d7f9
---
M be/src/runtime/coordinator-backend-state.cc
M be/src/runtime/coordinator-backend-state.h
M be/src/runtime/coordinator.cc
M be/src/runtime/coordinator.h
M be/src/runtime/fragment-instance-state.cc
M be/src/runtime/fragment-instance-state.h
M be/src/runtime/query-state.cc
M be/src/service/impala-http-handler.cc
M be/src/service/impala-http-handler.h
M be/src/util/runtime-profile-counters.h
M be/src/util/runtime-profile.cc
M common/thrift/ImpalaInternalService.thrift
M tests/query_test/test_observability.py
M tests/webserver/test_web_pages.py
M www/query_detail_tabs.tmpl
A www/query_finstances.tmpl
16 files changed, 423 insertions(+), 32 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/58/8758/2
--
To view, visit http://gerrit.cloudera.org:8080/8758
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I626456b6afa9101eeeeffd5cda10c4096d63d7f9
Gerrit-Change-Number: 8758
Gerrit-PatchSet: 2
Gerrit-Owner: Lars Volker <[email protected]>