That would make sense, but I ran `mvn dependency:build-classpath` and
confirmed
that 
/home/jamie/.m2/repository/org/apache/storm/storm-core/0.11.0-SNAPSHOT/storm-core-0.11.0-SNAPSHOT.jar
is on my classpath.

In addition, I can run ReturnResults directly if I add a main function and
run `mvn exec:java -Dstorm.topology=backtype.storm.drpc.ReturnResults`.

Is there any way that running `mvn install` in the root storm directory
would not include ReturnResults in the jar file?

Or is it possible that the ClassLoaderObjectInputStream used in Utils.js
cannot find this class?

Any help is appreciated.

Thanks,
Jamie

On Thu, Jan 7, 2016 at 3:29 PM Peyman Mohajerian <[email protected]> wrote:

> 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