You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by Davis Liang <da...@gmail.com> on 2016/10/08 01:23:55 UTC

Question About Backtype

Hi There!

Happy Friday!

I'm currently using storm to set up a twitter streaming topology on a local
machine. I include all the JAR files in the lib folder of version 1.0.2. I
also included all the JAR files from the twitter4j API.

While the compiler recognizes all the twitter classes, it does not
recognize any of the Storm classes in package backtype.

For example: import backtype.storm.task.TopologyContext;

Have you seen this phenomena before?

Best,
Davis Liang

Re: Question About Backtype

Posted by Ravi Sharma <pi...@gmail.com>.
I think you have written your code using older version of Storm.
backtype.storm do not exists in Storm 1.0.2, packages have moved.

So you have have to use a storm version like 0.X.Y or just reimport
packages in java code.

Thanks
Ravi.

On Sat, Oct 8, 2016 at 2:23 AM, Davis Liang <da...@gmail.com>
wrote:

> Hi There!
>
> Happy Friday!
>
> I'm currently using storm to set up a twitter streaming topology on a local
> machine. I include all the JAR files in the lib folder of version 1.0.2. I
> also included all the JAR files from the twitter4j API.
>
> While the compiler recognizes all the twitter classes, it does not
> recognize any of the Storm classes in package backtype.
>
> For example: import backtype.storm.task.TopologyContext;
>
> Have you seen this phenomena before?
>
> Best,
> Davis Liang
>

Re: Question About Backtype

Posted by Arman Divband <ar...@gmail.com>.
you must add to your compiler all jar files in lib folder of apache storm


On Sat, Oct 8, 2016 at 4:53 AM, Davis Liang <da...@gmail.com>
wrote:

> Hi There!
>
> Happy Friday!
>
> I'm currently using storm to set up a twitter streaming topology on a local
> machine. I include all the JAR files in the lib folder of version 1.0.2. I
> also included all the JAR files from the twitter4j API.
>
> While the compiler recognizes all the twitter classes, it does not
> recognize any of the Storm classes in package backtype.
>
> For example: import backtype.storm.task.TopologyContext;
>
> Have you seen this phenomena before?
>
> Best,
> Davis Liang
>