phoenix
phoenix copied to clipboard
PHOENIX-6692 Add HBase 2.5 support
We have test failures, need too look into them. [ERROR] MaxLookbackIT.testRecentMaxVersionsNotCompactedAway:315->majorCompact:343 » TestTimedOut [ERROR] MaxLookbackIT.testRecentlyDeletedRowsNotCompactedAway:154->majorCompact:343 » TestTimedOut [ERROR] MaxLookbackIT.testTTLAndMaxLookbackAge:238->majorCompact:343 » TestTimedOut te... [ERROR] TransformMonitorExtendedIT.testTransformIndexWithNamespaceEnabled:123 » SQL ER... [ERROR] TransformMonitorExtendedIT.testTransformTableWithNamespaceEnabled:155 » SQL ER... [ERROR] TransformMonitorExtendedIT.testTransformWithGlobalAndTenantViews:246 » SQL ERR...
We also hit PHOENIX-6702, but that's out of scope for this patch.
MaxLookbackIT and TransformMonitorExtendedIT passed locally for me with the workaround commit. I kicked off the test run for the PR again to see if that cleans up any of the errors (though given the HBase 2.5 dependency needs to be pointed to Hadoop 3, I'm not sure it would be?)
This is not expected to compile on Jenkins until official 2.5.0 artifacts are available. While we recompile 2.4 with Hadoop3 to run the tests, the other compatibility modules use the public artifacts for compilation, and will fail.
For compiling the compatibility modules Hadoop2/Hadoop3 is not an issue, the Hadoop3 compiled HBase is only needed for the shaded JARs and the minicluster tests.
2.5.0 is out. I have updated the CI setup to also build for 2.5, and also added 5.2.0 to the upgrade tests for Hbase 2.3 and 2.4.
I think we can commit this now. (Once the tests have run)
PTAL @gjacoby126 @richardantal
Fixed some checkstlye issues.