AnsweredAssumed Answered

ClassNotFoundException when using Flume to stream twitter data

Question asked by vaishp on Nov 10, 2015
Latest reply on Nov 10, 2015 by leonclayton
I installed Flume on mapr sandbox and I am trying to stream twitter data using flume. I have copied the flume-sources-twitter-json-0.1.jar, twitter4j-core-3.0.6.jar & twitter4j-stream-3.0.6.jar files in the flume-home/lib directory. I have created the flume.config for the twitter flume source configuration. Also, set the FLUME_CLASSPATH in flume-env.sh file.
When I try to start flume for the twitter agent, I get the following exception -

Unable to load source type: org.flume.source.twitter.json.TwitterSource
ClassNotFoundException: org.flume.source.twitter.json.TwitterSource

Could you please let me know what I am missing? Thank you.

Outcomes