-
Notifications
You must be signed in to change notification settings - Fork 148
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
JDK 1.7.0_51 breaks deploy-storm
(JClouds/Guice/Guava)
#62
Comments
Followed weirdcanada's post and adding to his point.
Then you are good to go. |
I just pushed an updated version of storm-deploy into https://github.com/nathanmarz/storm-deploy/tree/update-clojure-jclouds This version uses the latest jclouds 1.7.1 that doesn’t have the Java 1.7.0_51 issue, and in addition will support the newer AWS hardware profiles. Could you guys give it a try and confirm it works for you? If so, I’ll merge this back to master ASAP. |
Hi tbatchelli, tested your fix on project.clj, but this error was what I got. Thanks.
|
@mephistorockshard , is this with the 'update-clojure-jclouds' branch? The missing library is not referenced in any of the code in this branch... |
This is my first time trying storm-deploy, and I got this same error on master but it progresses past that point on the 'update-clojure-jclouds' branch and creates all of the instances. However it finally exits with: I'm not sure if that is normal or not. My Config: Command: |
I tried out lein deploy-storm --attach --name marketstem and it completed ("Attaching Complete") without any errors, but there is nothing at {nimbushost}:8080. Also tried http://{nimbus ip}/ganglia/index.php but I get: The requested URL /ganglia/index.php was not found on this server. |
@tbatchelli also getting the same issue @weirdcanada described. Still planning on merging fixes into master? |
Hi @tbatchelli, I was getting "RestContext[..] cannot be used as a key; It is not fully specified." using OpenJDK 1.7.0_55. Using branch update-clojure-jclouds fixed that problem for me. Thanks! |
Seeing same error with OpenJDK 1.7.0_65 and branch update-clojure-jclouds |
Using 1.7.0_65 and received this error when running lein deploy-storm: Switched over the the update-clojure-jclouds branch: Downloaded the dependencies again: The error was now gone. Thanks. |
Using the update-clojure-jclouds branch worked for me. Any plans to merge it to master?? |
I also had this problem and the |
update-clojure-jclouds works! |
JDK 1.7.0_u51 breaks
lein deploy-storm
. The issue resides in jclouds/guice/guava (see: Upgrading JDK from 1.7.0_45 to 1.7.0_51 causes problems when searching for interface implementations). You will get errors that look like:org.jclouds.rest.config.SyncToAsyncHttpApiProvider<org.jclouds.rest.HttpClient, A> cannot be used as a key; It is not fully specified.
This has been fixed in versions 1.8.0/1.7.1/1.6.2 of jclouds, however it looks like there were some api changes incompatible with storm-deploy's current use of jclouds.
PS - if you are a hitting this bug, an interim workaround is to downgrade your JDK to 1.7.0_u45. This worked for me and seems to have worked for others.
The text was updated successfully, but these errors were encountered: