Helix - Upgrade JDK version from JDK1.8 to JDK11.#2350
Helix - Upgrade JDK version from JDK1.8 to JDK11.#2350desaikomal wants to merge 1 commit intoapache:masterfrom
Conversation
|
Thanks, @desaikomal . I see that we are making the JDK version change here, but don't see any related code changes to get things working with JDK 11. Couple of questions:
|
|
Thanks @gshantanu. Currently we are able to compile with JDK11 and upgraded the CI pipelines to use the newer version. Test failures needs to be investigated if they are same as earlier reported. |
|
@desaikomal Thank you for this contribution. Who was the |
@helix-botMon, Oct 31, 2022, 9:09 AM If no one has further concern about it, let's go for it. This would be the last call. Best, JunkaiJunkai who is the chair for Apache Helix. |
|
Thanks @desaikomal for making the change! |
Issues
Fixes Upgrade Helix JDK version from 1.8 to JDK 11 #2349
Description
Since Helix is one of the core components, we were still using JDK 8 waiting for most of our customers to be already upgraded before us upgrading.
In October 2022, we proposed to upgrade the JDK version from 1.8 to JDK 11 which was approved by the Apache Helix chair/committer.
So this change is only introducing bumping up the version.
Rest of the optimization which JDK11 brings will be done as follow up changes.
Tests
(List the names of added unit/integration tests)
(If CI test fails due to known issue, please specify the issue and test PR locally. Then copy & paste the result of "mvn test" to here.)
[ERROR] Failures:
[ERROR] TestNoThrottleDisabledPartitions.testDisablingTopStateReplicaByDisablingInstance:98 expected: but was:
[ERROR] TestP2PNoDuplicatedMessage.testP2PStateTransitionEnabled:180 expected: but was:
[ERROR] TestMultiZkConnectionConfig>MultiZkTestBase.afterClass:137 expected: but was:
[ERROR] TestMultiZkConnectionConfig.testZKHelixManager:295->Object.wait:328->Object.wait:-2 » ThreadTimeout
[ERROR] TestWagedRebalanceFaultZone.testAddZone:270->validate:318->validateZoneAndTagIsolation:342 expected:<3> but was:<2>
[ERROR] TestRecurringJobQueue.testDeletingRecurrentQueueWithHistory:298 expected: but was:
[ERROR] TestTaskStateModelFactory.testZkClientCreationMultiZk:80 » Bind Address alread...
[INFO]
[ERROR] Tests run: 1325, Failures: 7, Errors: 0, Skipped: 6
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for Apache Helix 1.0.5-SNAPSHOT:
[INFO]
[INFO] Apache Helix ....................................... SUCCESS [ 0.638 s]
[INFO] Apache Helix :: Metrics Common ..................... SUCCESS [ 2.960 s]
[INFO] Apache Helix :: Metadata Store Directory Common .... SUCCESS [ 13.954 s]
[INFO] Apache Helix :: ZooKeeper API ...................... SUCCESS [51:47 min]
[INFO] Apache Helix :: Helix Common ....................... SUCCESS [ 2.047 s]
[INFO] Apache Helix :: Core ............................... FAILURE [ 03:28 h]
[INFO] Apache Helix :: Admin Webapp ....................... SKIPPED
[INFO] Apache Helix :: Restful Interface .................. SKIPPED
[INFO] Apache Helix :: Distributed Lock ................... SKIPPED
[INFO] Apache Helix :: HelixAgent ......................... SKIPPED
[INFO] Apache Helix :: Recipes ............................ SKIPPED
[INFO] Apache Helix :: Recipes :: Rabbitmq Consumer Group . SKIPPED
[INFO] Apache Helix :: Recipes :: Rsync Replicated File Store SKIPPED
[INFO] Apache Helix :: Recipes :: distributed lock manager SKIPPED
[INFO] Apache Helix :: Recipes :: distributed task execution SKIPPED
[INFO] Apache Helix :: Recipes :: service discovery ....... SKIPPED
[INFO] Apache Helix :: View Aggregator .................... SKIPPED
[INFO] ------------------------------------------------------------------------
Changes that Break Backward Compatibility (Optional)
(Consider including all behavior changes for public methods or API. Also include these changes in merge description so that other developers are aware of these changes. This allows them to make relevant code changes in feature branches accounting for the new method/API behavior.)
Documentation (Optional)
(Link the GitHub wiki you added)
Commits
Code Quality
(helix-style-intellij.xml if IntelliJ IDE is used)