Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable Phoenix product test #24519

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

virajjasani
Copy link

@virajjasani virajjasani commented Dec 18, 2024

Description

Enable Phoenix product tests.

HBase 2.5.10 has a fix required to stabilize Phoenix tests in the docker environment. Since Phoenix 5.2.1 with HBase 2.5.10-hadoop3 are already used by Trino, the fix is available for trino to consume.

Release notes

(x) This is not user-visible or is docs only, and no release notes are required.

Copy link

cla-bot bot commented Dec 18, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

Copy link

cla-bot bot commented Dec 18, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@virajjasani
Copy link
Author

@wendigo could you please take a look?

@ebyhr
Copy link
Member

ebyhr commented Dec 18, 2024

Could you run stress tests likes #21480? Removing unnecessary jobs and duplicating a Phoenix job.

Copy link

cla-bot bot commented Dec 18, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@virajjasani
Copy link
Author

Could you run stress tests likes #21480?

Could you please help me understand how I can run it? So far, I confirmed the changes with
testing/trino-product-tests-launcher/bin/run-launcher test run --config config-default --environment multinode-phoenix5 -- -g configured_features,phoenix

@ebyhr
Copy link
Member

ebyhr commented Dec 18, 2024

@virajjasani I mean removing unnecessary jobs and duplicating a Phoenix job (10 lines) in ci.yml.

@ebyhr ebyhr requested a review from lhofhansl December 18, 2024 21:52
@ebyhr
Copy link
Member

ebyhr commented Dec 18, 2024

Is #21569 a client side issue? Our testing target version is still 5.2.0. https://github.com/trinodb/docker-images/blob/a8bd3d297cbf23ea815856cb43901632f23ed677/testing/phoenix5/Dockerfile#L18

@virajjasani
Copy link
Author

Is #21569 a client side issue?

No, it was server side issue, which is fixed with HBase 2.5.9 (Jira: HBASE-28567)

@virajjasani
Copy link
Author

virajjasani commented Dec 18, 2024

Our testing target version is still 5.2.0.

Thanks for pointing this! Can i update it in addition to this PR?

@ebyhr ebyhr changed the title Run Phoenix integration test after 5.2.1 upgrade Run Phoenix product test after 5.2.1 upgrade Dec 18, 2024
Copy link

cla-bot bot commented Dec 18, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@virajjasani
Copy link
Author

Upgrade Phoenix version in docker image to 5.2.1: trinodb/docker-images#220

@ebyhr ebyhr marked this pull request as draft December 18, 2024 22:32
@virajjasani
Copy link
Author

@ebyhr I guess I might have removed even some necessary job, all the trino-phoenix5 jobs are failing. Probably I can restore everything back and still repeat trino-phoenix5 at least 20 times for stress testing?

Copy link

cla-bot bot commented Dec 18, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

1 similar comment
Copy link

cla-bot bot commented Dec 19, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@virajjasani
Copy link
Author

@ebyhr @lhofhansl The build result of stress test looks good, let me revert the changes and make PR ready for review.

Screenshot 2024-12-18 at 6 06 39 PM

Copy link

cla-bot bot commented Dec 19, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@virajjasani virajjasani marked this pull request as ready for review December 19, 2024 02:09
@ebyhr
Copy link
Member

ebyhr commented Dec 19, 2024

@virajjasani You should run product tests pt, not integration tests test because you updated testing/trino-product-tests/src/main/java/io/trino/tests/product/phoenix/TestPhoenix.java

@ebyhr ebyhr marked this pull request as draft December 19, 2024 02:16
Copy link

cla-bot bot commented Dec 19, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@virajjasani
Copy link
Author

@virajjasani You should run product tests pt, not integration tests test because you updated testing/trino-product-tests/src/main/java/io/trino/tests/product/phoenix/TestPhoenix.java

I am bit confused. It seems Trino does not have SuitePhoenix* or suite-phoenix* in ci.yaml. Also, #21569 build results were also focused on trino-phoenix5 unless I am mistaken. I might be missing something fundamental here.

@ebyhr
Copy link
Member

ebyhr commented Dec 19, 2024

@virajjasani You can check Suite6NonGeneric.

Copy link

cla-bot bot commented Dec 19, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

1 similar comment
Copy link

cla-bot bot commented Dec 19, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@virajjasani
Copy link
Author

@ebyhr Thanks for the pointers!
I have checked the output of Suite6NonGeneric and Phoenix test was included. Could you please also help verify if the stress test looks good to you? I can increase the num of suite runs, they were 10 this time and each one seems to have taken close to 34 min.

Screenshot 2024-12-19 at 1 25 24 PM

@ebyhr
Copy link
Member

ebyhr commented Dec 19, 2024

@virajjasani Thank you for your work! The test result looks good to me. Could you squash commits into one?

Copy link

cla-bot bot commented Dec 20, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

1 similar comment
Copy link

cla-bot bot commented Dec 20, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

Copy link

cla-bot bot commented Dec 20, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@cla-bot cla-bot bot removed the cla-signed label Dec 20, 2024
@virajjasani
Copy link
Author

Done, squashed into single commit.

@virajjasani
Copy link
Author

Btw I submitted ICLA yesterday just while creating this PR.

@@ -28,8 +28,7 @@
public class TestPhoenix
extends ProductTest
{
// TODO: https://github.com/trinodb/trino/issues/21824
@Test(groups = {PHOENIX, PROFILE_SPECIFIC_TESTS}, timeOut = 30_000L, enabled = false)
@Test(groups = {PHOENIX, PROFILE_SPECIFIC_TESTS})
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Run Phoenix product test after 5.2.1 upgrade

You can change the commit title to "Enable Phoenix product test".

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@virajjasani You renamed the PR title only, please also update the commit message. Looks good to merge.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. Thank you @ebyhr @hashhar!!

@virajjasani virajjasani changed the title Run Phoenix product test after 5.2.1 upgrade Enable Phoenix product test Dec 20, 2024
Copy link

cla-bot bot commented Dec 30, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

1 similar comment
Copy link

cla-bot bot commented Dec 30, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

Copy link

cla-bot bot commented Dec 30, 2024

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

Copy link
Member

@lhofhansl lhofhansl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Thanks for thinking about this @virajjasani, I was thinking about pining you on this and saw that you already did it. :)

We should move to HBase 2.6.1 now (which also has this fix), but that's for a different PR.
And when Phoenix and Hadoop 3.4.1 are working together reliably (ATM they do not) we should move to that as well, also for a different PR.

@virajjasani
Copy link
Author

We should move to HBase 2.6.1 now (which also has this fix), but that's for a different PR.
And when Phoenix and Hadoop 3.4.1 are working together reliably (ATM they do not) we should move to that as well, also for a different PR.

Ack, these are the next targets.
On a separate note, Phoenix 5.3 is expected to be ready in a couple of months and it comes with many new features. For Phoenix 5.3, using default HBase 2.6 profile would also be nice.

Also, now that we have Phoenix 5.2 already, I am thinking about enabling pagination with very low page size by default. I saw that hbase-site and phoenix properties are defined for multinode test setup, need to figure out how we can enable some properties by default.

@hashhar hashhar marked this pull request as ready for review January 2, 2025 06:36
@hashhar
Copy link
Member

hashhar commented Jan 2, 2025

@cla-bot check

Copy link

cla-bot bot commented Jan 2, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

Copy link

cla-bot bot commented Jan 2, 2025

The cla-bot has been summoned, and re-checked this pull request!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

4 participants