Skip to content

PHOENIX-6222 Bump default HBase version to 2.2.6 and 2.3.3 - #964

Closed
stoty wants to merge 1 commit into
apache:masterfrom
stoty:PHOENIX-6222
Closed

PHOENIX-6222 Bump default HBase version to 2.2.6 and 2.3.3#964
stoty wants to merge 1 commit into
apache:masterfrom
stoty:PHOENIX-6222

Conversation

@stoty

Copy link
Copy Markdown
Contributor

No description provided.

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 31sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 💚mvninstall12m 43smaster passed
+1 💚compile1m 21smaster passed
+1 💚javadoc1m 5smaster passed
_ Patch Compile Tests _
+1 💚mvninstall7m 29sthe patch passed
+1 💚compile1m 16sthe patch passed
+1 💚javac1m 16sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 1sThe patch has no ill-formed XML file.
+1 💚javadoc1m 5sthe patch passed
_ Other Tests _
-1 ❌unit96m 37sroot in the patch failed.
+1 💚asflicense0m 30sThe patch does not generate ASF License warnings.
125m 0s
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-964/1/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#964
Optional Testsdupname asflicense javac javadoc unit xml compile
unameLinux db58e27ec126 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 6cc9d50
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-964/1/artifact/yetus-general-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-964/1/testReport/
Max. process+thread count7105 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-964/1/console
versionsgit=2.7.4 maven=3.3.9
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@joshelser

Copy link
Copy Markdown
Member

Corresponding Jira issue for this one? What are we getting with the newer versions? (i.e. do we explicitly require fixes from them)

@stotystoty changed the title Bump default HBase version to 2.2.6 and 2.3.3PHOENIX-6222 Bump default HBase version to 2.2.6 and 2.3.3Nov 13, 2020
@stoty

Copy link
Copy Markdown
ContributorAuthor

Corresponding Jira issue for this one?

Sorry, cut-and-paste error. I've updated the commit and PR message.

What are we getting with the newer versions? (i.e. do we explicitly require fixes from them)

No, I haven't identified specific fixes for known problems.
IMO we should generally try to use the latest HBase patch releases for the usual reasons.

I made the PR now, because we are nearing 5.1, and I want to see the test results for the current HBase versions.

  • Do they fix existing flakey tests ( like the SplitSystemCatalog setup failures we see with 2.3 )
  • Do they introduce any new problems that we want to follow up on before release ?

@stoty

Copy link
Copy Markdown
ContributorAuthor

💔 -1 overall

VoteSubsystemRuntimeComment
+0 🆗reexec0m 29sDocker mode activated.
_ Prechecks _
+1 💚dupname0m 0sNo case conflicting files found.
+1 💚@author0m 0sThe patch does not contain any @author tags.
-1 ❌test4tests0m 0sThe patch doesn't appear to include any new or modified tests. Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.
_ master Compile Tests _
+1 💚mvninstall12m 55smaster passed
+1 💚compile1m 19smaster passed
+1 💚javadoc1m 5smaster passed
_ Patch Compile Tests _
+1 💚mvninstall7m 26sthe patch passed
+1 💚compile1m 18sthe patch passed
+1 💚javac1m 18sthe patch passed
+1 💚whitespace0m 0sThe patch has no whitespace issues.
+1 💚xml0m 1sThe patch has no ill-formed XML file.
+1 💚javadoc1m 4sthe patch passed
_ Other Tests _
-1 ❌unit97m 8sroot in the patch failed.
+1 💚asflicense0m 32sThe patch does not generate ASF License warnings.
125m 40s
SubsystemReport/Notes
DockerClientAPI=1.40 ServerAPI=1.40 base: https://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-964/2/artifact/yetus-general-check/output/Dockerfile
GITHUB PR#964
Optional Testsdupname asflicense javac javadoc unit xml compile
unameLinux dc9b05500180 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Build toolmaven
Personalitydev/phoenix-personality.sh
git revisionmaster / 6cc9d50
Default JavaPrivate Build-1.8.0_242-8u242-b08-0ubuntu3~16.04-b08
unithttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-964/2/artifact/yetus-general-check/output/patch-unit-root.txt
Test Resultshttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-964/2/testReport/
Max. process+thread count6862 (vs. ulimit of 30000)
modulesC: . U: .
Console outputhttps://ci-hadoop.apache.org/job/Phoenix/job/Phoenix-PreCommit-GitHub-PR/job/PR-964/2/console
versionsgit=2.7.4 maven=3.3.9
Powered byApache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.

@virajjasani

virajjasani commented Nov 13, 2020

Copy link
Copy Markdown
Contributor

+1 (non-binding) for using latest patch releases.
However, as for the tests, more often we don't get to see full test runs because tests like GlobalMutableNonTxIndexWithLazyPostBatchWriteIT, IndexUsageIT crashes VM and then we see multiple skipped tests. For instance, test runs for both builds of this PR so far have more than 100 tests skipped. As of today, do we have any workaround for VM crash or do we know of all tests that usually cause such trouble? Do we generally follow any recommendation like running all tests locally as part of HBase version upgrade to be more confident that all tests are passing (including flaky ones and the ones that are skipped in precommit builds)?

I am just thinking from 5.1 and 4.16 release stability viewpoint that at least if we get to see results of all tests, upgrading HBase versions might not be that much of a big deal and we could see all test results. Thought?

@stoty

Copy link
Copy Markdown
ContributorAuthor

Thanks @virajjasani.

The precommit tests are irrelevant for this patch, as those are run with 2.1.9, which is the almost certainly the final 2.1 release, and hasn't been changed.

I consider HBase patch release upgrades to be generally low risk, unless there is a breaking API change, which usually manifests at compile time.

ATM precommit runs the full test suite, it only skips modules if there are no changes in the module, nor in its dependencies.

Flakey tests are a huge problem, and we really should take them more seriously as a project.

I haven't had a chance to look at recent flakeys, and I cannot promise that I will in near future, but I REALLY would like to have the tests stabilized by the time we release 5.1 .

@virajjasani

virajjasani commented Nov 13, 2020

Copy link
Copy Markdown
Contributor

My bad, I forgot for a moment that 2.1 is the default profile. Still I believe it's worth getting this patch in, at least multibranch master will start running tests for 2.3 profile with 2.3.3 release line and we can keep an eye for some days.

I REALLY would like to have the tests stabilized by the time we release 5.1 .

I agree, will be happy to help on this.
Thanks

@stotystoty closed this Nov 14, 2020
@virajjasani

Copy link
Copy Markdown
Contributor

@stoty we should also bump provided dependencies of phoenix-hbase-compat-x.y.z's hbase-client, hbase-common, hbase-server?
e.g bump hbase-server to 2.3.3 here https://github.com/apache/phoenix/blob/master/phoenix-hbase-compat-2.3.0/pom.xml#L70-L71
Thought?

@stoty

stoty commented Dec 7, 2020

Copy link
Copy Markdown
ContributorAuthor

@stoty we should also bump provided dependencies of phoenix-hbase-compat-x.y.z's hbase-client, hbase-common, hbase-server?
e.g bump hbase-server to 2.3.3 here https://github.com/apache/phoenix/blob/master/phoenix-hbase-compat-2.3.0/pom.xml#L70-L71
Thought?

No.
Those are intentionally set to the lowest release of the HBase API variant that we are targeting-
While updating it wouldn't break the code, it is not necessary, and would cause confusion.
If there was an API change that affected us, we'd have to add a new a compatibility module instead.

The provided HBase dependency versions here will get overridden with the proper versions from the phoenix parent module.

@virajjasani

Copy link
Copy Markdown
Contributor

If there was an API change that affected us, we'd have to add a new a compatibility module instead.

Got it, makes sense, we are good then. Thank you @stoty !

@virajjasani

Copy link
Copy Markdown
Contributor

The provided HBase dependency versions here will get overridden with the proper versions from the phoenix parent module.

That's correct, I confirmed that a couple of days back by running dependency:tree.

@stoty
stoty deleted the PHOENIX-6222 branch July 29, 2021 13:30
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

@stoty@joshelser@virajjasani@chrajeshbabu