You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@impala.apache.org by "Riza Suminto (Code Review)" <ge...@cloudera.org> on 2025/01/27 19:26:42 UTC
[Impala-ASF-CR] IMPALA-13701: Rewrite test invalidate stale partition on reload
Riza Suminto has uploaded this change for review. ( http://gerrit.cloudera.org:8080/22400
Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................
IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
Test test_invalidate_stale_partition_on_reload continues to be flaky. It
is that the test order is not deterministic enough to ensure expected
Coordinator log lines are printed consistently.
This patch rewrite the test and make it more deterministic by:
1. Set shorter hms_event_polling_interval_s and
statestore_heartbeat_frequency_ms.
2. Running the "select *" query twice: before, and after the Hive insert
query.
3. Wait for a full statestore_heartbeat_frequency_ms before inspecting
logs and run the second query.
4. Validate that the second 'select *' query use higher table version
number than the first one.
Testing:
- Loop the test 10 times and pass.
Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
---
M tests/custom_cluster/test_events_custom_configs.py
1 file changed, 51 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/00/22400/1
--
To view, visit http://gerrit.cloudera.org:8080/22400
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
[Impala-ASF-CR] IMPALA-13701: Rewrite test invalidate stale partition on reload
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/22400 )
Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................
IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
Test test_invalidate_stale_partition_on_reload continues to be flaky. It
is suspected that the test order is not deterministic enough to ensure
expected Coordinator log lines are printed consistently.
This patch rewrite the test and make it more deterministic by:
1. Set shorter hms_event_polling_interval_s and
statestore_heartbeat_frequency_ms.
2. Running the "select *" query twice: before, and after the Hive insert
query.
3. Wait for a full statestore_heartbeat_frequency_ms before inspecting
logs and run the second query.
4. Validate that the second 'select *' query use higher table version
number than the first one.
Testing:
- Loop the test 100 times and pass in local machine.
Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Reviewed-on: http://gerrit.cloudera.org:8080/22400
Reviewed-by: Impala Public Jenkins <im...@cloudera.com>
Tested-by: Impala Public Jenkins <im...@cloudera.com>
---
M tests/custom_cluster/test_events_custom_configs.py
1 file changed, 51 insertions(+), 3 deletions(-)
Approvals:
Impala Public Jenkins: Looks good to me, approved; Verified
--
To view, visit http://gerrit.cloudera.org:8080/22400
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 5
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <sa...@cloudera.com>
[Impala-ASF-CR] IMPALA-13701: Rewrite test invalidate stale partition on reload
Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22400 )
Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................
Patch Set 3: Code-Review+1
This is looking good to me
--
To view, visit http://gerrit.cloudera.org:8080/22400
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 3
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <sa...@cloudera.com>
Gerrit-Comment-Date: Tue, 28 Jan 2025 00:44:10 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13701: Rewrite test invalidate stale partition on reload
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22400 )
Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................
Patch Set 4: Code-Review+2
--
To view, visit http://gerrit.cloudera.org:8080/22400
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 4
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <sa...@cloudera.com>
Gerrit-Comment-Date: Tue, 28 Jan 2025 10:36:28 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13701: Rewrite test invalidate stale partition on reload
Posted by "Riza Suminto (Code Review)" <ge...@cloudera.org>.
Hello Quanlong Huang, Sai Hemanth Gantasala, Csaba Ringhofer, Impala Public Jenkins,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/22400
to look at the new patch set (#3).
Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................
IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
Test test_invalidate_stale_partition_on_reload continues to be flaky. It
is suspected that the test order is not deterministic enough to ensure
expected Coordinator log lines are printed consistently.
This patch rewrite the test and make it more deterministic by:
1. Set shorter hms_event_polling_interval_s and
statestore_heartbeat_frequency_ms.
2. Running the "select *" query twice: before, and after the Hive insert
query.
3. Wait for a full statestore_heartbeat_frequency_ms before inspecting
logs and run the second query.
4. Validate that the second 'select *' query use higher table version
number than the first one.
Testing:
- Loop the test 100 times and pass in local machine.
Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
---
M tests/custom_cluster/test_events_custom_configs.py
1 file changed, 51 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/00/22400/3
--
To view, visit http://gerrit.cloudera.org:8080/22400
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 3
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <sa...@cloudera.com>
[Impala-ASF-CR] IMPALA-13701: Rewrite test invalidate stale partition on reload
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22400 )
Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................
Patch Set 1:
Build Successful
https://jenkins.impala.io/job/gerrit-code-review-checks/18101/ : Initial code review checks passed. Use gerrit-verify-dryrun-external or gerrit-verify-dryrun to run full precommit tests.
--
To view, visit http://gerrit.cloudera.org:8080/22400
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 1
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <sa...@cloudera.com>
Gerrit-Comment-Date: Mon, 27 Jan 2025 19:52:52 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13701: Rewrite test invalidate stale partition on reload
Posted by "Joe McDonnell (Code Review)" <ge...@cloudera.org>.
Joe McDonnell has posted comments on this change. ( http://gerrit.cloudera.org:8080/22400 )
Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................
Patch Set 3:
I'm willing to bump to +2 if there aren't other comments
--
To view, visit http://gerrit.cloudera.org:8080/22400
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 3
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <sa...@cloudera.com>
Gerrit-Comment-Date: Tue, 28 Jan 2025 01:12:25 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13701: Rewrite test invalidate stale partition on reload
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22400 )
Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................
Patch Set 4:
Build started: https://jenkins.impala.io/job/gerrit-verify-dryrun/11376/ DRY_RUN=false
--
To view, visit http://gerrit.cloudera.org:8080/22400
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 4
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <sa...@cloudera.com>
Gerrit-Comment-Date: Tue, 28 Jan 2025 10:36:29 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13701: Rewrite test invalidate stale partition on reload
Posted by "Impala Public Jenkins (Code Review)" <ge...@cloudera.org>.
Impala Public Jenkins has posted comments on this change. ( http://gerrit.cloudera.org:8080/22400 )
Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................
Patch Set 4: Verified+1
--
To view, visit http://gerrit.cloudera.org:8080/22400
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 4
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <sa...@cloudera.com>
Gerrit-Comment-Date: Tue, 28 Jan 2025 16:00:33 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13701: Rewrite test invalidate stale partition on reload
Posted by "Csaba Ringhofer (Code Review)" <ge...@cloudera.org>.
Csaba Ringhofer has posted comments on this change. ( http://gerrit.cloudera.org:8080/22400 )
Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................
Patch Set 3: Code-Review+2
Thanks for fixing this, this caused a lot of random test failures.
--
To view, visit http://gerrit.cloudera.org:8080/22400
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: comment
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 3
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Impala Public Jenkins <im...@cloudera.com>
Gerrit-Reviewer: Joe McDonnell <jo...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <sa...@cloudera.com>
Gerrit-Comment-Date: Tue, 28 Jan 2025 10:35:51 +0000
Gerrit-HasComments: No
[Impala-ASF-CR] IMPALA-13701: Rewrite test invalidate stale partition on reload
Posted by "Riza Suminto (Code Review)" <ge...@cloudera.org>.
Hello Quanlong Huang, Sai Hemanth Gantasala, Csaba Ringhofer,
I'd like you to reexamine a change. Please visit
http://gerrit.cloudera.org:8080/22400
to look at the new patch set (#2).
Change subject: IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
......................................................................
IMPALA-13701: Rewrite test_invalidate_stale_partition_on_reload
Test test_invalidate_stale_partition_on_reload continues to be flaky. It
is suspected that the test order is not deterministic enough to ensure
expected Coordinator log lines are printed consistently.
This patch rewrite the test and make it more deterministic by:
1. Set shorter hms_event_polling_interval_s and
statestore_heartbeat_frequency_ms.
2. Running the "select *" query twice: before, and after the Hive insert
query.
3. Wait for a full statestore_heartbeat_frequency_ms before inspecting
logs and run the second query.
4. Validate that the second 'select *' query use higher table version
number than the first one.
Testing:
- Loop the test 10 times and pass.
Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
---
M tests/custom_cluster/test_events_custom_configs.py
1 file changed, 51 insertions(+), 3 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/Impala-ASF refs/changes/00/22400/2
--
To view, visit http://gerrit.cloudera.org:8080/22400
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: newpatchset
Gerrit-Change-Id: Id578de1d6c9f809178d0b612068c449cf6c5f653
Gerrit-Change-Number: 22400
Gerrit-PatchSet: 2
Gerrit-Owner: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Csaba Ringhofer <cs...@cloudera.com>
Gerrit-Reviewer: Quanlong Huang <hu...@gmail.com>
Gerrit-Reviewer: Riza Suminto <ri...@cloudera.com>
Gerrit-Reviewer: Sai Hemanth Gantasala <sa...@cloudera.com>