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

Change subject: IMPALA-13500: Fix test_invalidate_stale_partition_on_reload() 
test
......................................................................


Patch Set 2:

(1 comment)

http://gerrit.cloudera.org:8080/#/c/22084/2/tests/custom_cluster/test_events_custom_configs.py
File tests/custom_cluster/test_events_custom_configs.py:

http://gerrit.cloudera.org:8080/#/c/22084/2/tests/custom_cluster/test_events_custom_configs.py@1318
PS2, Line 1318:     self.client.execute("create table {} (id int) partitioned 
by (p int)"
              :         .format(test_tbl))
> Is there any metrics that you can inspect and wait between beginning of tes
There are some events metrics exposed by CatalogD

events-processor.last-synced-event-id   282398  Last metastore event id that 
the catalog server processed and synced to
events-processor.last-synced-event-time 1732215801      Last metastore event 
time that the catalog server processed and synced to
events-processor.latest-event-id        282398  Latest event id in Hive 
metastore
events-processor.latest-event-time      1732215801      Event time of the 
latest event in Hive metastore
events-processor.pending-events 0       Number of pending events to be synced, 
i.e. the difference between latest-event-id and last-synced-event-id
events-processor.status ACTIVE  Metastore event processor status

You might able to harden this test by verifying that metrics has changed first 
before inspecting the log.



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: I62170aa6ed8ae122482a03212fec9c4fe843ce03
Gerrit-Change-Number: 22084
Gerrit-PatchSet: 2
Gerrit-Owner: Sai Hemanth Gantasala <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Sai Hemanth Gantasala <[email protected]>
Gerrit-Comment-Date: Thu, 21 Nov 2024 19:45:15 +0000
Gerrit-HasComments: Yes

Reply via email to