My Twitter Flume is not uploading tweets into HDFS. In fact it stuck at below and don't see progress

flume

#1

[edureka@localhost apache-flume-1.7.0-bin]$ bin/flume-ng agent --conf ./conf/ -f conf/flume-twitter.conf Dflume.root.logger=DEBUG,console -n TwitterAgent
Info: Sourcing environment configuration script /home/edureka/Learn/apache-flume-1.7.0-bin/conf/flume-env.sh
Info: Including Hadoop libraries found via (/usr/lib/hadoop-2.2.0/bin/hadoop) for HDFS access
Info: Including HBASE libraries found via (/usr/lib/hbase-0.96.2-hadoop2/bin/hbase) for HBASE access
Info: Including Hive libraries found via (/usr/lib/hive-0.13.1-bin) for Hive access

  • exec /usr/lib/jvm/jdk1.7.0_67/bin/java -Xmx20m -cp ‘/home/edureka/Learn/apache-flume-1.7.0-bin/conf:/home/edureka/Learn/apache-flume-1.7.0-bin/lib/:/home/edureka/Learn/apache-flume-1.7.0-bin/lib/flume-sources-1.0-SNAPSHOT.jar:/usr/lib/hadoop-2.2.0/etc/hadoop:/usr/lib/hadoop-2.2.0/share/hadoop/common/lib/:/usr/lib/hadoop-2.2.0/share/hadoop/common/:/usr/lib/hadoop-2.2.0/share/hadoop/hdfs:/usr/lib/hadoop-2.2.0/share/hadoop/hdfs/lib/:/usr/lib/hadoop-2.2.0/share/hadoop/hdfs/:/usr/lib/hadoop-2.2.0/share/hadoop/yarn/lib/:/usr/lib/hadoop-2.2.0/share/hadoop/yarn/:/usr/lib/hadoop-2.2.0/share/hadoop/mapreduce/lib/:/usr/lib/hadoop-2.2.0/share/hadoop/mapreduce/:/usr/lib/hadoop-2.2.0/contrib/capacity-scheduler/.jar:/usr/lib/hbase-0.96.2-hadoop2/conf:/usr/lib/jvm/jdk1.7.0_67/lib/tools.jar:/usr/lib/hbase-0.96.2-hadoop2:/usr/lib/hbase-0.96.2-hadoop2/lib/activation-1.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/aopalliance-1.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/asm-3.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/avro-1.7.4.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-beanutils-1.7.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-beanutils-core-1.8.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-cli-1.2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-codec-1.7.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-collections-3.2.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-compress-1.4.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-configuration-1.6.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-daemon-1.0.13.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-digester-1.8.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-el-1.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-httpclient-3.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-io-2.4.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-lang-2.6.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-logging-1.1.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-math-2.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/commons-net-3.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/findbugs-annotations-1.3.9-1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/gmbal-api-only-3.0.0-b023.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/grizzly-framework-2.1.2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/grizzly-http-2.1.2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/grizzly-http-server-2.1.2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/grizzly-http-servlet-2.1.2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/grizzly-rcm-2.1.2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/guava-12.0.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/guice-3.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/guice-servlet-3.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-annotations-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-auth-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-client-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-common-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-hdfs-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-hdfs-2.2.0-tests.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-mapreduce-client-app-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-mapreduce-client-common-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-mapreduce-client-core-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-mapreduce-client-hs-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-mapreduce-client-hs-plugins-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-mapreduce-client-jobclient-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-mapreduce-client-jobclient-2.2.0-tests.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-mapreduce-client-shuffle-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-mapreduce-examples-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-yarn-api-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-yarn-applications-distributedshell-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-yarn-applications-unmanaged-am-launcher-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-yarn-client-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-yarn-common-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-yarn-server-common-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-yarn-server-nodemanager-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-yarn-server-resourcemanager-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-yarn-server-web-proxy-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hadoop-yarn-site-2.2.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hamcrest-core-1.3.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-client-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-common-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-common-0.96.2-hadoop2-tests.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-examples-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-hadoop2-compat-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-hadoop-compat-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-it-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-it-0.96.2-hadoop2-tests.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-prefix-tree-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-protocol-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-server-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-server-0.96.2-hadoop2-tests.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-shell-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-testing-util-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/hbase-thrift-0.96.2-hadoop2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/htrace-core-2.04.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/httpclient-4.1.3.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/httpcore-4.1.3.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jackson-core-asl-1.8.8.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jackson-jaxrs-1.8.8.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jackson-mapper-asl-1.8.8.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jackson-xc-1.8.8.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jamon-runtime-2.3.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jasper-compiler-5.5.23.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jasper-runtime-5.5.23.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/javax.inject-1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/javax.servlet-3.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/javax.servlet-api-3.0.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jaxb-api-2.2.2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jaxb-impl-2.2.3-1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jersey-client-1.9.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jersey-core-1.8.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jersey-grizzly2-1.9.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jersey-guice-1.9.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jersey-json-1.8.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jersey-server-1.8.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jersey-test-framework-core-1.9.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jersey-test-framework-grizzly2-1.9.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jets3t-0.6.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jettison-1.3.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jetty-6.1.26.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jetty-sslengine-6.1.26.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jetty-util-6.1.26.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jruby-complete-1.6.8.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jsch-0.1.42.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jsp-2.1-6.1.14.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jsp-api-2.1-6.1.14.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/jsr305-1.3.9.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/junit-4.11.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/libthrift-0.9.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/log4j-1.2.17.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/management-api-3.0.0-b012.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/metrics-core-2.1.2.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/netty-3.6.6.Final.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/paranamer-2.3.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/protobuf-java-2.5.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/servlet-api-2.5-6.1.14.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/slf4j-api-1.6.4.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/snappy-java-1.0.4.1.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/xmlenc-0.52.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/xz-1.0.jar:/usr/lib/hbase-0.96.2-hadoop2/lib/zookeeper-3.4.5.jar:/usr/lib/hadoop-2.2.0/etc/hadoop:/usr/lib/hadoop-2.2.0/share/hadoop/common/lib/:/usr/lib/hadoop-2.2.0/share/hadoop/common/:/usr/lib/hadoop-2.2.0/share/hadoop/hdfs:/usr/lib/hadoop-2.2.0/share/hadoop/hdfs/lib/:/usr/lib/hadoop-2.2.0/share/hadoop/hdfs/:/usr/lib/hadoop-2.2.0/share/hadoop/yarn/lib/:/usr/lib/hadoop-2.2.0/share/hadoop/yarn/:/usr/lib/hadoop-2.2.0/share/hadoop/mapreduce/lib/:/usr/lib/hadoop-2.2.0/share/hadoop/mapreduce/:/usr/lib/hadoop-2.2.0/contrib/capacity-scheduler/.jar:/usr/lib/hbase-0.96.2-hadoop2/conf:/usr/lib/hive-0.13.1-bin/lib/’ -Djava.library.path=:/usr/lib/hadoop-2.2.0/lib:/usr/lib/hadoop-2.2.0/lib org.apache.flume.node.Application -f conf/flume-twitter.conf Dflume.root.logger=DEBUG,console -n TwitterAgent

=================
PLease let me know if you need any detail.


#2

Has this ever worked? What does your config look like? Are you able to connect to the stream using twurl?

From the Twitter side, there’s very little we can do without a lot more information. We don’t provide Flume ourselves.