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

PHOENIX-7027 Add compatibility module for Hbase 2.5.4 and upgrade Hba… #1679

Closed
wants to merge 1 commit into from

Conversation

stoty
Copy link
Contributor

@stoty stoty commented Sep 19, 2023

…se version to 2.5.5

@stoty stoty requested review from virajjasani, gjacoby126 and richardantal and removed request for virajjasani and gjacoby126 September 19, 2023 11:57
</activation>
<properties>
<hbase.profile>2.5.0</hbase.profile>
<hbase.compat.version>2.5.0</hbase.compat.version>
Copy link
Contributor

Choose a reason for hiding this comment

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

shall we keep this also 2.5.4 just to maintain same compat version as before?

Copy link
Contributor Author

@stoty stoty Sep 20, 2023

Choose a reason for hiding this comment

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

The convention we have used so far is that the profile activated by the property without patch level, i.e. 2.5 always points to the latest supported HBase patch level (and corresponding compatibility module) within that minor version.
When we need to add a new profile, we move the patch level-less profile property value to point to the latest one, and create a new profile which is named after the first patch level it supports.

Before this patch the -Dhbase.profile=2.5 activated 2.5.0 profile id which used the existing 2.5.0 compatibility moudule.
Now the -Dhbase.profile=2.5 value activates 2.5.4 profile and module instead, and we've added the new 2.5.0 property value match to the old 2.5.0 compatibility module.

Yes, this means that you have to change the profile if you keep using an older HBase version, but 2.5 profile always works with the latest 2.5 release. We can't have it both ways unfortunately.

We could add an explicit 2.5.4 profile as an alias to 2.5, but I don't think that would improve things.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

However, the profile id is indeed inconsistent.
We should call it phoenix-hbase-compat-2.5.4 instead.

@virajjasani
Copy link
Contributor

build#1 timed out after 9+ hr, triggered new build: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-1679/2/

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