storm jar isn't in you classpath. ReturResults is part of the storm jar.

On Thu, Jan 7, 2016 at 1:26 PM, Jamie W <[email protected]> wrote:

> I want to run a Storm drpc server, but I'm getting an error when I try to
> run
> ManualDRPC in the examples. Here are the exact steps I take to test:
>
> git clone [email protected]:apache/storm.git
> mvn install -DskipTests=true
> cd examples/storm-starter
> mvn exec:java -Dstorm-topology="storm.starter.ManualDRPC"
>
> Result:
> java.lang.RuntimeException: java.lang.ClassNotFoundException:
> backtype.storm.drpc.ReturnResults
> at backtype.storm.utils.Utils.javaDeserialize(Utils.java:172)
> ~[storm-core-0.11.0-SNAPSHOT.jar:0.11.0-SNAPSHOT]
>
> (The examples pom converts -Dstorm-topology into -Dexec.mainClass.)
> Any tips?
> Thanks,
> Jamie
>
>

Reply via email to