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 failure running 0.9.0-SNAPSHOT using JDK 9 #704

Closed
lwhite1 opened this issue Apr 13, 2016 · 2 comments · Fixed by #712
Closed

build failure running 0.9.0-SNAPSHOT using JDK 9 #704

lwhite1 opened this issue Apr 13, 2016 · 2 comments · Fixed by #712

Comments

@lwhite1
Copy link

lwhite1 commented Apr 13, 2016

I used the instructions from Getting Started.

git clone git://github.com/brianfrankcooper/YCSB.git
cd YCSB
mvn clean package

and got:

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.3:compile (default-compile) on project couchbase2-binding: Compilation failure
[ERROR] /Users/larrywhite/IdeaProjects/YCSB/couchbase2/src/main/java/com/yahoo/ycsb/db/couchbase2/Couchbase2Client.java:[674,12] reference to subscribe is ambiguous
[ERROR] both method subscribe(rx.Observer<? super T>) in rx.Observable and method subscribe(rx.Subscriber<? super T>) in rx.Observable match
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :couchbase2-binding

my platform:

Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T07:57:37-04:00)
Java version: 1.9.0-ea, vendor: Oracle Corporation
Java home: /Library/Java/JavaVirtualMachines/jdk1.9.0.jdk/Contents/Home
Default locale: en_US, platform encoding: UTF-8
OS name: "mac os x", version: "10.10.5", arch: "x86_64", family: "mac"
@busbey
Copy link
Collaborator

busbey commented Apr 13, 2016

Thanks for the heads up! Unfortunately, we don't currently support building with jdk9.

Can you try building with jdk8 or jdk7?

Alternatively, our 0.8.0 release should be published shortly. Depending on which datastore you want to test with, you could rely on the binary artifacts from that release.

@risdenk risdenk changed the title build failure running 0.9.0-SNAPSHOT build failure running 0.9.0-SNAPSHOT using JDK 9 Apr 13, 2016
busbey added a commit to busbey/YCSB that referenced this issue Apr 16, 2016
* in couchbase2 work around ReactiveX/RxJava#3824
* accumulo test hangs, so skip tests
* hbase10 test crashes with unknown class version, so skip tests
* core jar-with-deps fails, so keep them broken out
* add jdk9 to travis

fixes brianfrankcooper#704, fixes brianfrankcooper#705
busbey added a commit to busbey/YCSB that referenced this issue Apr 16, 2016
* in couchbase2 work around ReactiveX/RxJava#3824
* accumulo test hangs, so skip tests
* hbase10 test crashes with unknown class version, so skip tests
* core jar-with-deps fails, so keep them broken out
* add jdk9 to travis

fixes brianfrankcooper#704, fixes brianfrankcooper#705
busbey added a commit to busbey/YCSB that referenced this issue Apr 17, 2016
* in couchbase2 work around ReactiveX/RxJava#3824
* accumulo test hangs, so skip tests
* hbase10 test crashes with unknown class version, so skip tests
* core jar-with-deps fails, so keep them broken out

fixes brianfrankcooper#704, fixes brianfrankcooper#705
busbey added a commit to busbey/YCSB that referenced this issue Apr 30, 2016
…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
@risdenk
Copy link
Collaborator

risdenk commented Sep 27, 2016

Closing this since it references 0.9.0. The tracking of JDK 9 support will be here: #705

@risdenk risdenk closed this as completed Sep 27, 2016
busbey added a commit that referenced this issue Sep 30, 2016
…xes for jdk9 (#712)

* 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 #704, fixes #705
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants