Hello Quanlong Huang, Jason Fehr, Csaba Ringhofer, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/23955
to look at the new patch set (#8).
Change subject: IMPALA-13419: Improve test_http_socket_timeout
......................................................................
IMPALA-13419: Improve test_http_socket_timeout
Uses a debug action in ExecuteStatement to add a sleep so we can test a
longer http_socket_timeout_s setting, which makes the test more
consistent. Fixes test failures with ASAN builds.
The change in testing means the failure no longer happens during 'SET
ALL' - which was too quick to be reliable - where impala-shell would
then CloseSession after failure. It now happens during executing the
query, which can result in leaving a query behind after the connection
is closed. Adds idle_session_timeout and query_timeout_s to ensure the
query is closed after disconnect, and asserts at the end of the test
that no in-flight queries are left rather than discovering that later.
Updates impala-shell to send 'idle_session_timeout' with OpenSession so
it's actually used. Defers making other query options session config to
IMPALA-14735.
Fixes a DCHECK failure exposed by this test where registration fails
because the session has been closed and therefore the query driver was
not finalized:
760958 impala-server.cc:1522] ...] RegisterQuery(): session has been closed,
ignoring query.
760958 query-driver.cc:46] Check failed: finalized_.Load() Finalize() must
have been called
Testing: ran test_http_socket_timeout a bunch of times with ASAN.
Change-Id: Idf31bb1752586ebc296e5e8d62c035bac7371dfb
---
M be/src/runtime/query-driver.cc
M be/src/runtime/query-driver.h
M be/src/service/impala-server.cc
M shell/impala_shell/impala_client.py
M shell/impala_shell/impala_shell.py
M tests/shell/test_shell_commandline.py
6 files changed, 44 insertions(+), 14 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/55/23955/8
--
To view, visit http://gerrit.cloudera.org:8080/23955
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Idf31bb1752586ebc296e5e8d62c035bac7371dfb
Gerrit-Change-Number: 23955
Gerrit-PatchSet: 8
Gerrit-Owner: Michael Smith <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Jason Fehr <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>