title: Java error while retrieving twitter data using apache flume on centos
body: <p>I am new to this concept please help me if i am doing something wrong.</p>
  
  <p>I configure multinode hadoop cluster with 4 slaves and one master. Hadoop version is 1.2.1 . </p>
  
  <p>Now i need to configure apache flume into it in order to fetch twitter data.</p>
  
  <p>The following configurations are done in the Flume </p>
  
  <p>In <code>flume-env.sh</code></p>
  
  <pre><code>JAVA_HOME=/usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64/
  </code></pre>
  
  <p>and also i configured a <code>flume.conf</code> file according to that</p>
  
  <p>I am trying to run flume by command <code>./flume-ng agent -n MyTwitAgent -c conf -f /opt/flume/apache-flume-1.4.0-bin/conf/flume.conf</code></p>
  
  <p>The error is: </p>
  
  <pre><code>+ exec /usr/lib/jvm/java-1.7.0-openjdk-1.7.0.65.x86_64//bin/java -Xmx20m -cp 'conf:/opt/flume/apache-flume-1.4.0-bin/lib/*' -Djava.library.path= org.apache.flume.node.Application -n MyTwitAgent -f /opt/flume/apache-flume-1.4.0-bin/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 http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
  </code></pre>