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

[build, core, accumulo, couchbase2, hbase10, orientdb] fixes for jdk9 #712

Merged
merged 1 commit into from
Sep 30, 2016

Conversation

busbey
Copy link
Collaborator

@busbey busbey commented Apr 16, 2016

fixes #704, fixes #705

@busbey
Copy link
Collaborator Author

busbey commented Apr 17, 2016

okay. it looks like JDK9 support is not present in travis-ci yet. To enable the jvm at all we have to move onto some experimental ubuntu hosts in sudo mode, and then maven is known not to work.

So I'd say fixing the current errors are fine, but we can't expect it to consistently work so long as things aren't getting automatically checked.

@risdenk
Copy link
Collaborator

risdenk commented Apr 17, 2016

@busbey JDK 9 isn't GA yet. Still in beta and probably won't be available for a while. Doubt it will be in Travis CI till its GA. Agree that fixing current errors is good. Will review the changes.

@risdenk
Copy link
Collaborator

risdenk commented Apr 17, 2016

I pulled down this PR and tried to run mvn clean package with JDK 9 ea build 113.

OrientDB fails with:

Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make member of class com.sun.management.internal.OperatingSystemImpl accessible: module jdk.management does not export com.sun.management.internal to unnamed module @1a8a8f7c

Full output of OrientDB section: https://gist.github.com/risdenk/c055c7cc8cf8d6e8fa966866f613c26b

Solr fails as well with full output here: https://gist.github.com/risdenk/dbe1e28c962a527f1632b4a5e330cf62. To fix the Solr tests, need to update Solr dependencies to Solr 6 which was release about a week ago. There were a few fixes in Solr 6 for JDK 9.

@risdenk
Copy link
Collaborator

risdenk commented Apr 17, 2016

Added #715 and PR #716 to update Solr binding.

@busbey
Copy link
Collaborator Author

busbey commented Apr 17, 2016

The OrientDB output looks like we should add the same profile we have for HBase and Accumulo, unless they've since had a release that accounts for JDK9.

@busbey
Copy link
Collaborator Author

busbey commented Apr 29, 2016

bump?

@risdenk
Copy link
Collaborator

risdenk commented Apr 29, 2016

@busbey - I don't know much about OrientDB. I would add the same profile for HBase and Accumulo and worry about updating the OrientDB binding later.

…xes for jdk9

* in couchbase2 work around ReactiveX/RxJava#3824
* accumulo test hangs, so skip tests
* hbase10 and asynchbase test crashes with unknown class version, so skip tests
* orientdb tests fail, so skip
* core jar-with-deps fails, so keep them broken out

fixes brianfrankcooper#704, fixes brianfrankcooper#705
@busbey
Copy link
Collaborator Author

busbey commented Apr 30, 2016

rebased, updated for asynchbase module, refactored how skipping under jdk9 works so it just requires a property (since we're up to 4 modules). added orientdb and asynchhbase to the set of modules that skip under jdk9.

@busbey
Copy link
Collaborator Author

busbey commented May 4, 2016

bump?

@busbey
Copy link
Collaborator Author

busbey commented Jun 20, 2016

bump? would like to include this before the 0.10.0 release.

@joshelser
Copy link
Contributor

Seems reasonable enough to me. Would it help to have someone else also run a build with a jdk9?

@busbey
Copy link
Collaborator Author

busbey commented Jun 22, 2016

yep! trying to build with jdk9 would help see how far off of current ea versions we are. But a +1 on the current incremental changes doesn't necessitate such a build. my main criteria when making the change was making sure jdk7 still worked, since it's our release jdk. I haven't updated my jdk9-ea version since starting back in April.

@busbey
Copy link
Collaborator Author

busbey commented Jul 4, 2016

bump

@busbey
Copy link
Collaborator Author

busbey commented Aug 13, 2016

Bump?

Copy link
Collaborator

@risdenk risdenk left a comment

Choose a reason for hiding this comment

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

Changes look good to me.

@risdenk
Copy link
Collaborator

risdenk commented Sep 28, 2016

👍

@risdenk risdenk changed the title [build, core, accumulo, couchbase2, hbase10] fixes for jdk9 [build, core, accumulo, couchbase2, hbase10, orientdb] fixes for jdk9 Sep 28, 2016
@busbey busbey merged commit c9d70ba into brianfrankcooper:master Sep 30, 2016
@busbey busbey deleted the fix-jdk9 branch September 30, 2016 14:01
@risdenk risdenk mentioned this pull request Nov 15, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

JDK 9, 10, and 11 support for YCSB build failure running 0.9.0-SNAPSHOT using JDK 9
3 participants