Quanlong Huang has posted comments on this change. ( 
http://gerrit.cloudera.org:8080/21065 )

Change subject: [WIP]IMPALA-12832: Implicit invalidate metadata on event 
failures
......................................................................


Patch Set 12:

(3 comments)

http://gerrit.cloudera.org:8080/#/c/21065/11/tests/metadata/test_event_processing_error.py
File tests/metadata/test_event_processing_error.py:

http://gerrit.cloudera.org:8080/#/c/21065/11/tests/metadata/test_event_processing_error.py@49
PS11, Line 49:                     
"--inject_process_event_failure_event_types='ALTER_TABLE' "
> Math.random() will generate a number between 0.0 and 1.0. Instead of introd
I think making the ratio configurable is helpful for stress tests. In reality, 
processing a event is not always fail. But in unit test here, we'd like it to 
always fails and verify the metadata is still in synced.


http://gerrit.cloudera.org:8080/#/c/21065/11/tests/metadata/test_event_processing_error.py@59
PS11, Line 59:       assert EventProcessorUtils.get_event_processor_status() == 
"ACTIVE"
Can we also check the owner to make sure the metadata is in synced?


http://gerrit.cloudera.org:8080/#/c/21065/11/tests/metadata/test_event_processing_error.py@76
PS11, Line 76:       assert EventProcessorUtils.get_event_processor_status() == 
"ACTIVE"
Can we also verify the partition exists by a "SHOW PARTITIONS" statement?



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

Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Ia67fc04c995802d3b6b56f79564bf0954b012c6c
Gerrit-Change-Number: 21065
Gerrit-PatchSet: 12
Gerrit-Owner: Anonymous Coward <[email protected]>
Gerrit-Reviewer: Anonymous Coward <[email protected]>
Gerrit-Reviewer: Csaba Ringhofer <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Quanlong Huang <[email protected]>
Gerrit-Reviewer: Sai Hemanth Gantasala <[email protected]>
Gerrit-Comment-Date: Wed, 06 Mar 2024 01:01:15 +0000
Gerrit-HasComments: Yes

Reply via email to