you can print the dependency tree like so:
mvn dependency:tree

That should give you an idea what zookeeper libraries are in your effective
classpath.
I am going with storm master (0.9.3-SNAPSHOT) which works just fine with zk
3.4.5.

If you still have trouble running the KafkaSpout don't hesitate to share
the output of the mvn dependency.tree command.

Toni

*Toni Menzel | rebaze GmbH*
[email protected] | +49 171 65 202 84
http:// <https://mail.google.com/mail/u/0/goog_1770677242>www.rebaze.com |
twitter @rebazeio <https://twitter.com/rebazeio> | LinkedIn Profile
<http://www.linkedin.com/company/2553599>



On Fri, Jun 20, 2014 at 6:17 PM, 傅駿浩 <[email protected]> wrote:

> Hi, all
> It's really useless for me... mu dependencies are as follows
> <dependencies>
>         <dependency>
>             <groupId>junit</groupId>
>             <artifactId>junit</artifactId>
>             <version>3.8.1</version>
>             <scope>test</scope>
>         </dependency>
>         <dependency>
>             <groupId>org.testng</groupId>
>             <artifactId>testng</artifactId>
>             <version>6.8.5</version>
>             <scope>test</scope>
>         </dependency>
>         <dependency>
>             <groupId>org.mockito</groupId>
>             <artifactId>mockito-all</artifactId>
>             <version>1.9.0</version>
>             <scope>test</scope>
>         </dependency>
>         <dependency>
>             <groupId>org.easytesting</groupId>
>             <artifactId>fest-assert-core</artifactId>
>             <version>2.0M8</version>
>             <scope>test</scope>
>         </dependency>
>         <dependency>
>             <groupId>org.jmock</groupId>
>             <artifactId>jmock</artifactId>
>             <version>2.6.0</version>
>             <scope>test</scope>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.storm</groupId>
>             <artifactId>storm-core</artifactId>
>             <version>0.9.2-incubating</version>
>             <!-- keep storm out of the jar-with-dependencies -->
>             <scope>provided</scope>
>         </dependency>
>         <dependency>
>             <groupId>commons-collections</groupId>
>             <artifactId>commons-collections</artifactId>
>             <version>3.2.1</version>
>         </dependency>
>         <dependency>
>             <groupId>com.google.guava</groupId>
>             <artifactId>guava</artifactId>
>             <version>15.0</version>
>         </dependency>
>         <dependency>
>             <groupId>com.twitter</groupId>
>             <artifactId>finagle-mysql_2.9.2</artifactId>
>             <version>6.5.1</version>
>         </dependency>
>         <dependency>
>             <groupId>mysql</groupId>
>             <artifactId>mysql-connector-java</artifactId>
>             <version>5.1.1</version>
>             <scope>runtime</scope>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.kafka</groupId>
>             <artifactId>kafka_2.10</artifactId>
>             <version>0.8.1.1</version>
>             <exclusions>
>                 <exclusion>
>                     <groupId>com.sun.jmx</groupId>
>                     <artifactId>jmxri</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>com.sun.jdmk</groupId>
>                     <artifactId>jmxtools</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>javax.jms</groupId>
>                     <artifactId>jms</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>org.apache.zookeeper</groupId>
>                     <artifactId>zookeeper</artifactId>
>                 </exclusion>
>                 <exclusion>
>                     <groupId>log4j</groupId>
>                     <artifactId>log4j</artifactId>
>                 </exclusion>
>             </exclusions>
>         </dependency>
>         <dependency>
>             <groupId>org.scala-lang</groupId>
>             <artifactId>scala-library</artifactId>
>             <version>2.10.0</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.avro</groupId>
>             <artifactId>avro</artifactId>
>             <version>1.7.6</version>
>         </dependency>
>         <dependency>
>             <groupId>args4j</groupId>
>             <artifactId>args4j</artifactId>
>             <version>2.0.28</version>
>         </dependency>
>         <dependency>
>             <groupId>com.google.protobuf</groupId>
>             <artifactId>protobuf-java</artifactId>
>             <version>2.5.0</version>
>         </dependency>
>         <dependency>
>             <groupId>org.apache.storm</groupId>
>             <artifactId>storm-kafka</artifactId>
>             <version>0.9.2-incubating</version>
>         </dependency>
>
>     </dependencies>
>
> It still show the same exception...I download the release from github and
> do mvn compile and package and install with skiptest. i don't know it's
> correct or not. And I write my code in Intellij. I still need to add lib
> folder(0.9.1 perhaps) of  storm to my intellij, orherwise it will show
> ClassNotFoundException...... i found this lib folder with a zookeeper
> 3.3.3.... how can I solve this issue?
>
> thank you very much.
>
> James
>
>
>
> ----- Reply message -----
> 寄件者: "Toni Menzel" <[email protected]>
> 收件者: <[email protected]>
> 主旨: Storm 0.9.2-incubating not on maven central, KafkaSpout release?
> 日期: 週五, 6月 20 日, 2014 年 10:41 下午
>
> ah ok thanks for heads up, Taylor.
> And just to know: will the storm-kafka subproject be released, too? It was
> not part of 0.9.1 though.
>
> *Toni Menzel | rebaze GmbH*
> [email protected] | +49 171 65 202 84
> http:// <https://mail.google.com/mail/u/0/goog_1770677242>www.rebaze.com
>  | twitter @rebazeio <https://twitter.com/rebazeio> | LinkedIn Profile
> <http://www.linkedin.com/company/2553599>
>
>
>
> On Fri, Jun 20, 2014 at 4:34 PM, P. Taylor Goetz <[email protected]>
> wrote:
>
> It has not been officially released yet. The PPMC voted to approve it, but
> it still needs to be approved by the IPMC. That vote is currently underway.
> Only when that succeeds can we release the artifacts from staging.
>
> -Taylor
>
> On Jun 20, 2014, at 10:29 AM, Toni Menzel <[email protected]> wrote:
>
> Hi there,
>
> 1.
> i see storm 0.9.2-incubator has been released last friday? Any reason why
> its not on maven central yet [1] ?
>
> 2.
> Right now i am using the (external) kafka spout which right now has been
> built locally from master. Will it be released with the general
> distribution soon'ish?
>
> Thanks guys, Toni
>
> [1]
> http://search.maven.org/#artifactdetails%7Corg.apache.storm%7Cstorm-core%7C0.9.1-incubating%7Cjar
>
> *Toni Menzel | rebaze GmbH*
> [email protected] | +49 171 65 202 84
> http:// <https://mail.google.com/mail/u/0/goog_1770677242>www.rebaze.com
>  | twitter @rebazeio <https://twitter.com/rebazeio> | LinkedIn Profile
> <http://www.linkedin.com/company/2553599>
>
>
>

Reply via email to