Support Questions

Find answers, ask questions, and share your expertise

Guava dependency issue on HDP 2.5 Sandbox, with Storm 1.0.1

avatar
Expert Contributor

I am facing the classic storm compatibility issue here with a demo. There is a java file here thats doing

" import org.apache.storm.guava.collect.Lists;"

With the new 2.5 Sandbox, Storm version is 1.0.1.2.5.0.0-1245. When i am compiling the code by running 'mvn clean package', i am running into compilation and build errors, as you can see in the image attached. I also attached the pom.xml file. Its complaining about guava dependencies, that are shaded in the new storm release. Please help to resolve the dependency issue.

Thanks

8056-screen-shot-2016-09-27-at-42053-pm.pngpom.xml

1 ACCEPTED SOLUTION

avatar
Master Guru
2 REPLIES 2

avatar
Master Guru

avatar
Expert Contributor

@Timothy Spann yes that code was written for storm 0.10. Now I am trying to test that for 1.0.1. Updated the Pom with necessary storm and Kafka versions and added guava dependency as suggested in the above link. Still I am getting build errors