Joe McDonnell has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/17872 )

Change subject: IMPALA-10811 RPC to submit query getting stuck for AWS NLB 
forever
......................................................................


Patch Set 22:

(2 comments)

http://gerrit.cloudera.org:8080/#/c/17872/22/tests/hs2/test_hs2.py
File tests/hs2/test_hs2.py:

http://gerrit.cloudera.org:8080/#/c/17872/22/tests/hs2/test_hs2.py@356
PS22, Line 356:   def test_get_operation_status_for_async_ddl(self):
Use unique_database, as that will avoid needing to think about cleanup of the 
table.


http://gerrit.cloudera.org:8080/#/c/17872/22/tests/hs2/test_hs2.py@368
PS22, Line 368:     execute_statement_resp = self.execute_statement(statement)
What I would do is:
select count(*) from functional_parquet.alltypes;
(which means that the metadata is already loaded and a subsequent exec 
referencing that table is fast)
then
set debug_action to delay at the right place for 5+ seconds
start_time = time.time()
create table alltypes_clone as select * from functional_parquet.alltypes;
end_time = time.time()
# Should take less than one second
assert end_time - start_time < 1.0

I think this is a pretty clear test for whether this is async.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ib57e86926a233ef13d27a9ec8d9c36d33a88a44e
Gerrit-Change-Number: 17872
Gerrit-PatchSet: 22
Gerrit-Owner: Qifan Chen <qc...@cloudera.com>
Gerrit-Reviewer: Amogh Margoor <amarg...@gmail.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <joemcdonn...@cloudera.com>
Gerrit-Reviewer: Qifan Chen <qc...@cloudera.com>
Gerrit-Comment-Date: Tue, 12 Oct 2021 21:08:37 +0000
Gerrit-HasComments: Yes

Reply via email to