<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: Exception in thread &amp;quot;Twitter4J Async Dispatcher[0]&amp;quot; java.lang.NoSuchMethodError: in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158448#M36474</link>
    <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11938/kumarvaibhav1992.html"&gt;Vaibhav Kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/11938/kumarvaibhav1992.html"&gt; &lt;/A&gt;Your command is as following, Can you please explain what do you mean by "-f /usr/local/flume" in your command?&lt;/P&gt;&lt;PRE&gt;$ bin/flume-ng agent -n TwitterAgent -c conf -f /usr/local/flume /conf/flume.conf&lt;/PRE&gt;&lt;P&gt;Please refer to &lt;A target="_blank" href="https://flume.apache.org/FlumeUserGuide.html"&gt;https://flume.apache.org/FlumeUserGuide.html&lt;/A&gt; and look at the argument&lt;B&gt; "-f"&lt;/B&gt; to understand what it expects (example: conf/flume-conf.properties.template) :&lt;/P&gt;&lt;PRE&gt; $ bin/flume-ng agent -n $agent_name -c conf -f conf/flume-conf.properties.template&lt;/PRE&gt;</description>
    <pubDate>Mon, 01 Aug 2016 11:45:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-08-01T11:45:07Z</dc:date>
    <item>
      <title>Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158435#M36461</link>
      <description>&lt;PRE&gt;&amp;lt;code&amp;gt;I have installed flume.Running`flume-ng --help` shows that it's     installed. After configuring conf file for streaming data from twitter and     setting my java path in `flume-env.sh` I'm running the command to stream the data:/bin/flume-ng agent -n TwitterAgent-c conf -f /usr/local/flume/bin/conf    /flume.conf&lt;/PRE&gt;
&lt;P&gt;It shows some warnings and some info from log4j. Can any one please help me in this? &lt;/P&gt;&lt;PRE&gt;&amp;lt;code&amp;gt;Logs:
 vaibhav@vaibhav-Lenovo-G570:/usr/local/flume/bin$ flume-ng agent -n          TwitterAgent-c conf -f /usr/local/flume/conf/flume.conf
+ exec /usr/local/java/bin/java -Xmx20m-cp 'conf:/usr/local/flume/lib/*'-Djava.library.path= org.apache.flume.node.Application-n     TwitterAgent-f /usr/local/flume/conf/flume.conf

log4j:WARN No appenders could be found for logger     (org.apache.flume.lifecycle.LifecycleSupervisor).

log4j:WARN Please initialize the log4j system properly.

log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.&lt;/PRE&gt;</description>
      <pubDate>Sun, 31 Jul 2016 03:19:10 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158435#M36461</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-07-31T03:19:10Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158436#M36462</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/11938/kumarvaibhav1992.html" nodeid="11938"&gt;@Vaibhav Kumar&lt;/A&gt;&lt;P&gt;these log4j related warnings are okay to ignore. did you get any other error on console or in logs? if yes then can you please let us know?&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 06:00:52 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158436#M36462</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-07-31T06:00:52Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158437#M36463</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/questions/48342/flume-log-4j-warn.html#"&gt;@Kuldeep Kulkarni&lt;/A&gt; thanks for the concern .&lt;/P&gt;&lt;P&gt;Now i get some different error related to java path .i have give the path to jre correctly  but it show  some . PFA screenshot in the below comment .&lt;/P&gt;&lt;P&gt;vaibhav@vaibhav-Lenovo-G570:/usr/local/flume/bin$ flume-ng agent -n TwitterAgent -c conf -f /usr/local/flume/conf/flume.conf
+ exec /usr/local/java/jre -Xmx20m -cp 'conf:/usr/local/flume/lib/*' -Djava.library.path= org.apache.flume.node.Application -n TwitterAgent -f /usr/local/flume/conf/flume.conf
/usr/local/flume/bin/flume-ng:     line 241: /usr/local/java/jre: Is a directory
/usr/local/flume/bin/flume-ng: line 241: exec: /usr/local/java/jre: cannot execute: Is a directory&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" /&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 12:13:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158437#M36463</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-07-31T12:13:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158438#M36464</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni  Please find below screenshot for the above error.
&lt;/A&gt;&lt;BR /&gt;&lt;IMG src="https://community.cloudera.com/t5/image/serverpage/image-id/6200iA5181EDF2A9D84CD/image-size/large?v=1.0&amp;amp;px=999" border="0" alt="vbsam.png" title="vbsam.png" /&gt;</description>
      <pubDate>Sun, 31 Jul 2016 12:17:13 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158438#M36464</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-07-31T12:17:13Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158439#M36465</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11938/kumarvaibhav1992.html"&gt;Vaibhav Kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like your JAVA_HOME is not set correctly.  Thats why you are getting the following error:&lt;/P&gt;&lt;PRE&gt;/usr/local/flume/bin/flume-ng: line 241: exec: /usr/local/java/jre: cannot execute: Is a directory&lt;/PRE&gt;&lt;P&gt;From your previously added comment i think that in your case the "java" executable is present in the following path:   &lt;STRONG&gt;"&lt;/STRONG&gt;&lt;STRONG&gt;/usr/local/java/bin/java"&lt;/STRONG&gt; Can you try using this java path?&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 13:05:53 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158439#M36465</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-31T13:05:53Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158440#M36466</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11938/kumarvaibhav1992.html" nodeid="11938"&gt;@Vaibhav Kumar&lt;/A&gt; &lt;/P&gt;&lt;P&gt;+1 to answer given by &lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@Joy&lt;/A&gt; - Can you please check his answer and try to set JAVA_HOME properly ?&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 13:45:44 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158440#M36466</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-07-31T13:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158441#M36467</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@Joy&lt;/A&gt;
&lt;/P&gt;&lt;P&gt; i have edited the path i'm getting warning from log4j if i consider this is working then why i cannot see any data in hdfs&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 14:08:03 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158441#M36467</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-07-31T14:08:03Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158442#M36468</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@Joy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;    this is my output :
&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;&lt;/A&gt;     &lt;/P&gt;&lt;P&gt;vaibhav@vaibhav-Lenovo-G570:/usr/local/flume/bin$ flume-ng agent -n 
TwitterAgent -c conf -f /usr/local/flume        /conf/flume.conf
    + exec /usr/local/java/bin/java -Xmx20m -cp 
'conf:/usr/local/flume/lib/*' -Djava.library.path=         
org.apache.flume.node.Application -n TwitterAgent -f 
/usr/local/flume/conf/flume.conf
    &lt;/P&gt;&lt;P&gt;     log4j:WARN No appenders could be found for logger 
(org.apache.flume.lifecycle.LifecycleSupervisor).&lt;/P&gt;&lt;P&gt;     log4j:WARN Please initialize the log4j system properly.
    log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt;
 for more info.&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 14:09:08 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158442#M36468</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-07-31T14:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158443#M36469</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/504/kkulkarni.html" nodeid="504"&gt;@Kuldeep Kulkarni&lt;/A&gt; i have made the changes it just showing me the logs mentioned above .No data is going to the created directory.&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 15:05:22 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158443#M36469</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-07-31T15:05:22Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158444#M36470</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11938/kumarvaibhav1992.html"&gt;Vaibhav Kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like that your flume is not able to locate the "conf" directory properly because if it will not find the "conf/log4j.properties" then it will complain about the &lt;STRONG&gt;"log4j:WARN No appenders could be found for logger"&lt;/STRONG&gt;. &lt;/P&gt;&lt;P&gt;In your case as the "conf" directory path is not correct hence it is not able to locate the "log4j.properties" to be added to it's classpath.&lt;/P&gt;&lt;P&gt;Can you try starting the flume as following so that the "conf" directory relative path will be correct. &lt;/P&gt;&lt;PRE&gt;cd /usr/local/flume 

./bin/flume-ng agent -n TwitterAgent -c conf -f /usr/local/flume /conf/flume.conf&lt;/PRE&gt;&lt;P&gt;As in the above command we are in "/usr/local/flume " directory so when we pass an argument "-c conf" then it should be locate it properly.    However in your case you were running the command from inside the "&lt;EM&gt;/usr/local/flume/bin/flume-ng  -c conf&lt;/EM&gt;" , So it was trying to find the conf directory inside "/usr/local/flume/bin/"&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 16:27:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158444#M36470</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-31T16:27:55Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158445#M36471</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@Joy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;    I'm getting the below logs after running the above command. it is not able to instantiate the folowing class &lt;/P&gt;&lt;P&gt;    com.webmethods.sc.logging.log4j.WmDailyFileAppender&lt;/P&gt;
&lt;P style="margin-left: 80px;"&gt;vaibhav@vaibhav-Lenovo-G570:/usr/local/flume$ ./bin/flume-ng agent -n TwitterAgent -c conf -f /usr/local/flume /conf/flume.conf
Info: Sourcing environment configuration script /usr/local/flume/conf/flume-env.sh
+ exec /usr/local/java/bin/java -Xms500m -Xmx1000m -Dcom.sun.management.jmxremote -cp '/usr/local/flume/conf:/usr/local/flume/lib/*:usr/local/flume/conf' -Djava.library.path= org.apache.flume.node.Application -n TwitterAgent -f /usr/local/flume /conf/flume.conf
log4j:ERROR Could not instantiate class [com.webmethods.sc.logging.log4j.WmDailyFileAppender].
java.lang.ClassNotFoundException: com.webmethods.sc.logging.log4j.WmDailyFileAppender
   at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   at java.lang.Class.forName0(Native Method)
   at java.lang.Class.forName(Class.java:264)
   at org.apache.log4j.helpers.Loader.loadClass(Loader.java:198)
   at org.apache.log4j.helpers.OptionConverter.instantiateByClassName(OptionConverter.java:326)
   at org.apache.log4j.helpers.OptionConverter.instantiateByKey(OptionConverter.java:123)
   at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:752)
   at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)
   at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)
   at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)
   at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:547)
   at org.apache.log4j.helpers.OptionConverter.selectAndConfigure(OptionConverter.java:483)
   at org.apache.log4j.LogManager.&amp;lt;clinit&amp;gt;(LogManager.java:127)
   at org.slf4j.impl.Log4jLoggerFactory.getLogger(Log4jLoggerFactory.java:73)
   at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:242)
   at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:254)
   at org.apache.flume.node.Application.&amp;lt;clinit&amp;gt;(Application.java:59)
log4j:ERROR Could not instantiate appender named "testAppender".
log4j:WARN No appenders could be found for logger (org.apache.flume.node.PollingPropertiesFileConfigurationProvider).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See &lt;A href="http://logging.apache.org/log4j/1.2/faq.html#noconfig" target="_blank"&gt;http://logging.apache.org/log4j/1.2/faq.html#noconfig&lt;/A&gt; for more info.&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 17:11:50 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158445#M36471</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-07-31T17:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158446#M36472</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11938/kumarvaibhav1992.html"&gt;Vaibhav Kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Looks like you have modified the &lt;EM&gt;"/usr/local/flume/&lt;/EM&gt;&lt;EM&gt;conf/log4j.properties&lt;/EM&gt;" file of your flume and added that new appender &lt;/P&gt;&lt;PRE&gt;log4j.appender.&amp;lt;SOME_APPENDER_NAME&amp;gt;=com.webmethods.sc.logging.log4j.WmDailyFileAppender&lt;/PRE&gt;&lt;P&gt;If that is the case then you will need to download the Jar that provides the above mentioned class and then that jar need to be placed inside the "&lt;EM&gt;/usr/local/flume/lib" &lt;/EM&gt;directory.   I do not think that the mentioned class is shipped with Flume.  I even checked in latest flume "apache-flume-1.6.0-bin.tar.gz".   "WmDailyFileAppender" class is not shipped with it. &lt;/P&gt;&lt;P&gt;Have you edited your log4j and added that appender?&lt;/P&gt;&lt;P&gt;I will suggest you to have a look at the log4j.properties that is shipped with flume as following and try using it:&lt;/P&gt;&lt;P&gt;&lt;A target="_blank" href="https://github.com/apache/flume/blob/trunk/conf/log4j.properties"&gt;https://github.com/apache/flume/blob/trunk/conf/log4j.properties&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 31 Jul 2016 19:57:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158446#M36472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-07-31T19:57:14Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158447#M36473</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@Joy&lt;/A&gt; Yes i had altered the log4j but i reverted it back now and  cannot see any warning or errors, but no data is getting streamed to my hdfs directory.Below are the logs :&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;vaibhav@vaibhav-Lenovo-G570:/usr/local/flume$ bin/flume-ng agent -n TwitterAgent -c conf -f /usr/local/flume /conf/flume.conf &lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;Info: Sourcing environment configuration script /usr/local/flume/conf/flume-env.sh
+ exec /usr/local/java/bin/java -Xms500m -Xmx1000m -Dcom.sun.management.jmxremote -cp '/usr/local/flume/conf:/usr/local/flume/lib/*:usr/local/flume/conf' -Djava.library.path= org.apache.flume.node.Application -n TwitterAgent -f /usr/local/flume /conf/flume.conf&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 02:15:05 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158447#M36473</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-08-01T02:15:05Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158448#M36474</link>
      <description>&lt;P&gt;@&lt;A href="https://community.hortonworks.com/users/11938/kumarvaibhav1992.html"&gt;Vaibhav Kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/11938/kumarvaibhav1992.html"&gt; &lt;/A&gt;Your command is as following, Can you please explain what do you mean by "-f /usr/local/flume" in your command?&lt;/P&gt;&lt;PRE&gt;$ bin/flume-ng agent -n TwitterAgent -c conf -f /usr/local/flume /conf/flume.conf&lt;/PRE&gt;&lt;P&gt;Please refer to &lt;A target="_blank" href="https://flume.apache.org/FlumeUserGuide.html"&gt;https://flume.apache.org/FlumeUserGuide.html&lt;/A&gt; and look at the argument&lt;B&gt; "-f"&lt;/B&gt; to understand what it expects (example: conf/flume-conf.properties.template) :&lt;/P&gt;&lt;PRE&gt; $ bin/flume-ng agent -n $agent_name -c conf -f conf/flume-conf.properties.template&lt;/PRE&gt;</description>
      <pubDate>Mon, 01 Aug 2016 11:45:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158448#M36474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-08-01T11:45:07Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158449#M36475</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@Joy&lt;/A&gt; I edited my command ,it's as follows &lt;/P&gt;&lt;P&gt;bin/flume-ng agent --conf conf --conf-file flume.conf --name TwitterAgent -Dflume.root.logger=INFO,console&lt;/P&gt;&lt;P&gt;It worked but at the end it shows some twitter  exceptions. I searched for the issue on internet it showed there is some problem with flume-sources-1.0-SNAPSHOT.jar .So i downloaded it again from a different source but still its throwing the same error.I havn't pasted the full logs here .&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;vaibhav@vaibhav-Lenovo-G570:/usr/local/flume$ bin/flume-ng agent --conf conf --conf-file flume.conf --name TwitterAgent -Dflume.root.logger=INFO,console
Info&lt;/P&gt;&lt;P style="margin-left: 40px;"&gt;...
Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError: twitter4j.json.JSONObjectType.determine(Ltwitter4j/internal/org/json/JSONObject;)Ltwitter4j/json/JSONObjectType;
   at twitter4j.AbstractStreamImplementation$1.run(AbstractStreamImplementation.java:100)
   at twitter4j.internal.async.ExecuteThread.run(DispatcherImpl.java:116)&lt;/P&gt;</description>
      <pubDate>Mon, 01 Aug 2016 23:05:01 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158449#M36475</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-08-01T23:05:01Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158450#M36476</link>
      <description>&lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@Joy&lt;/A&gt;&lt;P&gt; can you please have a look.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Aug 2016 19:49:04 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158450#M36476</guid>
      <dc:creator>kumarvaibhav199</dc:creator>
      <dc:date>2016-08-02T19:49:04Z</dc:date>
    </item>
    <item>
      <title>Re: Exception in thread "Twitter4J Async Dispatcher[0]" java.lang.NoSuchMethodError:</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158451#M36477</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/11938/kumarvaibhav1992.html" nodeid="11938"&gt;@Vaibhav Kumar&lt;/A&gt; - Can you please write a new question on this new error? I could see that reported issue got resolved. I have accepted answer by &lt;A rel="user" href="https://community.cloudera.com/users/3823/joysensharma.html" nodeid="3823"&gt;@Joy&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;Please post the new question on this error and you can tag in Joy or other people in there to get quick attention &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Aug 2016 06:10:25 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/Exception-in-thread-quot-Twitter4J-Async-Dispatcher-0-quot/m-p/158451#M36477</guid>
      <dc:creator>KuldeepK</dc:creator>
      <dc:date>2016-08-03T06:10:25Z</dc:date>
    </item>
  </channel>
</rss>

