Riza Suminto has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/21032 )

Change subject: IMPALA-10949: (Addendum) Improve batching logic of events
......................................................................


Patch Set 1:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/21032/1/tests/custom_cluster/test_events_custom_configs.py
File tests/custom_cluster/test_events_custom_configs.py:

http://gerrit.cloudera.org:8080/#/c/21032/1/tests/custom_cluster/test_events_custom_configs.py@411
PS1, Line 411:     self.run_stmt_in_hive(
             :       "analyze table {}.{} compute 
statistics".format(unique_database, test_batch_table))
             :     self.client.execute("refresh 
{0}.{1}".format(unique_database, test_batch_table))
Is it possible that the event poll and processing complete faster than catalogd 
handling the REFRESH query?

If it possible, then a better fix is to inject sleep in Event Processor to hold 
processing event batch after poll, so that REFRESH happen before event batch 
processing. This will require exposing debug_action flag to Java code via 
BackendConfig.java.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I0c6d0c3e3449f98a41058d0186208f17eb91cd0d
Gerrit-Change-Number: 21032
Gerrit-PatchSet: 1
Gerrit-Owner: Sai Hemanth Gantasala <saihema...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <impala-public-jenk...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <huangquanl...@gmail.com>
Gerrit-Reviewer: Riza Suminto <riza.sumi...@cloudera.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <saihema...@cloudera.com>
Gerrit-Comment-Date: Mon, 04 Mar 2024 17:44:41 +0000
Gerrit-HasComments: Yes

Reply via email to