As Tyson mentioned, upgrading to Storm 0.9.3-RC1 helps to resolve this issue. For storm-0.9.2-incubating, I would recommend the following (which seemed to work for me on dev before I switched over to 0.9.3-RC1):
Start nimbus, supervisors, workers, ui, etc. as usual. Verify the cluster is up and running, like ps aux | grep storm or through the UI. Then: sudo mv /opt/programs/storm/lib/guava-13.0.jar /opt/programs/storm/lib/guava-13.0.jar.notused Now, for your pom file on build-deploy to the storm cluster: <dependency> <groupId>org.apache.storm</groupId> <artifactId>storm-core</artifactId> <version>0.9.2-incubating</version> <type>jar</type> <scope>provided</scope> <exclusions> <exclusion> <artifactId>guava</artifactId> <groupId>com.google.guava</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.datastax.cassandra</groupId> <artifactId>cassandra-driver-core</artifactId> <version>2.1.2</version> <scope>compile</scope> <exclusions> <exclusion> <artifactId>guava</artifactId> <groupId>com.google.guava</groupId> </exclusion> </exclusions> </dependency> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>18.0</version> <scope>compile</scope> </dependency> Hope this helps, -Dan On Fri, Oct 24, 2014 at 4:05 PM, Tyson Norris <[email protected]> wrote: > I believe 0.9.3 will avoid this problem by re packing these dependencies > with different storm - specific packages, so you can use whatever version > of guava you like in your bolts. > > There is a 0.9.3 rc build in the storm downloads page. > > Tyson > > > On Oct 24, 2014, at 1:57 PM, Gary Zhao <[email protected]> wrote: > > Hello > > Anyone encountered the following issue and any workaround? Our Storm > topology was written in Clojure. > > ---------------------------------------- > Our team is upgrading one of our storm topology from using cassandra 1.2 > to cassandra 2.0, and we have found one problem that is difficult to > tackle. Cassandra 2.0Java driver requires google guava 1.6. Unfortuanately, > storm 0.9.2 provides a lower version. Because of that, a topology will not > be able to contact Cassandra databases. > > Thanks > > -- Dan DeCapria CivicScience, Inc. Back-End Data IS/BI/DM/ML Specialist
