Live instructor-led & Self-paced Online Certification Training Courses (Big Data, Hadoop, Spark) Forums Flume getting exception while fetching data from twitter using flume

Viewing 1 reply thread
  • Author
    • #6648

      ERROR node.PollingPropertiesFileConfigurationProvider: Unhandled error
      java.lang.NoSuchMethodError: twitter4j.TwitterStream.addListener(Ltwitter4j/StatusListener;)V
      at org.apache.flume.source.twitter.TwitterSource.configure(
      at org.apache.flume.conf.Configurables.configure(
      at org.apache.flume.node.AbstractConfigurationProvider.loadSources(
      at org.apache.flume.node.AbstractConfigurationProvider.getConfiguration(
      at org.apache.flume.node.PollingPropertiesFileConfigurationProvider$
      at java.util.concurrent.Executors$
      at java.util.concurrent.FutureTask.runAndReset(
      at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(
      at java.util.concurrent.ScheduledThreadPoolExecutor$
      at java.util.concurrent.ThreadPoolExecutor.runWorker(
      at java.util.concurrent.ThreadPoolExecutor$

    • #6649


      The first line itself is telling us that, There is no such method which you were trying to use .It seems like your using older version of “twitter4j”JARs (Specially “twitter4j-core”).So , I request you to please use latest JAR.Other errors might had came because of the same issue .

      Earlier version of this class had a method as following;
      URL getMediaURLHttps();
      Which is now changed to the following signature:
      String getMediaURL();

Viewing 1 reply thread
  • You must be logged in to reply to this topic.