-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Hadoop 2.7.x is not compatible with Java 9 #25450
Comments
Similar failure in smoke test plugins qa module:
Build url: https://internal-ci.elastic.co/job/elastic+x-pack-elasticsearch+5.5+java9-periodic/90/console another instance: https://internal-ci.elastic.co/job/elastic+x-pack-elasticsearch+5.x+java9-periodic/475/console |
We can look into bringing the Hadoop version up to 2.8.x to fix this, as I believe that this problem is fixed in that release line. It's frustrating that 2.7 may simply not allow java 9 compatibility at all. I'm not a fan of the hack approach since it may have unintended side effects down the road on code that is prepared for the version change. |
I've got the plugin upgraded locally, but I'm running into a problem with 2.8.0 in that there is a thread started in the HDFS client that leaks and completely ignores thread interrupts. Seems like it's been reported but the fix isn't targeted for release until 2.9.0: https://issues.apache.org/jira/browse/HADOOP-12829 Edit: Got a work around figured out for our testing environment. PR will land soon. |
There have been 23 failures so far today. If the PR cannot be merged today then I think it would be worth disabling the test to avoid the noise over the weekend. |
Also another 10 cases of the smoke test failure detailed in #25450 (comment) |
Since Hadoop 2.7.x is not compatible with Java 9+, see elastic/elasticsearch#25450
In the CI tests for Java 9, we are getting failures in the hdfsFixture:
https://elasticsearch-ci.elastic.co/job/elastic+elasticsearch+master+java9-periodic/3051/console
This is a known issue with Hadoop 2.7.x, https://issues.apache.org/jira/browse/HADOOP-14586, and it may not be fixed. A "hacky" workaround was used by the reported of the issue, https://git-wip-us.apache.org/repos/asf?p=lucene-solr.git;a=commitdiff;h=85a27a2. Maybe we can bring our version of the client jars up to a newer version?
The text was updated successfully, but these errors were encountered: