storm-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sai Dilip Reddy Kiralam <dkira...@aadhya-analytics.com>
Subject Re: Topology error
Date Wed, 13 Apr 2016 06:42:10 GMT
yeah ! thank you erik,I just found that by comparing example codes of storm
0.10 and storm 1.0




*Best regards,*

*K.Sai Dilip Reddy.*

On Wed, Apr 13, 2016 at 12:06 PM, Erik Weathers <eweathers@groupon.com>
wrote:

> Storm-1.0.0 represents a major rewrite.  One of the changes was to the
> package paths:  backtype.* was changed to org.apache.*.
>
> So all previous storm stuff is broken.  You need to rebuild the topology
> to reference org.apache.* instead of backtype.*.  Should be a simple string
> replacement.  Here is a sed cmd I used on my mac (note gsed instead of sed):
>
> find . -type f -not -path '*/\.*' -not -name '*.class' -print0 | xargs -0
> gsed -i 's/backtype/org.apache/g'
>
> On Tue, Apr 12, 2016 at 11:29 PM, Sai Dilip Reddy Kiralam <
> dkiralam@aadhya-analytics.com> wrote:
>
>> Hi All,
>>
>> when I tried to run the word count Topology from storm-starter examples
>> of 0.10 version in the storm 1.0.0 it gives me the error as follow
>>
>> .jar=target/storm-starter-0.10.0.jar storm.starter.WordCountTopology sdf
>> fd
>> Error: A JNI error has occurred, please check your installation and try
>> again
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> backtype/storm/topology/IRichSpout
>>     at java
>>
>> why it is giving me the error ?
>>
>>
>> *Best regards,*
>>
>> *K.Sai Dilip Reddy.*
>>
>
>

Mime
View raw message