Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

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