Reply
Explorer
Posts: 6
Registered: ‎04-27-2018

Flume twitter source don't filter keywords

[ Edited ]

Hello

 

I have followed the instructions of this links to configure a flume agent to read tweets and write to hdfs.

 

 

 

http://blog.cloudera.com/blog/2012/10/analyzing-twitter-data-with-hadoop-part-2-gathering-data-with-...

 

https://github.com/cloudera/cdh-twitter-example

 

 

 

In the flume configuration file i have set the parameter <agent_name>.sources.Twitter.keywords = ....  with several words to filter the results, and configure the same workd in the source code in the line

 

public static final String KEYWORDS_KEY = ...

 

 

 

it connect to twitter and start downloading tweets but the problem is that it seem that download all tweets, it dont't take in account the keywords configured...

 

thanks in advance for your help

 

regards

 

diego

 

Announcements