0

我已经在我的系统中安装并安装了 Flume 1.9.0,我正在尝试使用 Flume 研究 Twitter 帐户的数据摄取。但我面临以下问题:

hdoop@Subh-Ubuntu:~/flume/apache-flume-1.9.0-bin$ bin/flume-ng agent --conf ./conf/ -f conf/twitter.conf Dflume.root.logger=DEBUG,console -n TwitterAgent
Info: Sourcing environment configuration script /home/hdoop/flume/apache-flume-1.9.0-bin/conf/flume-env.sh
Info: Including Hadoop libraries found via (/home/hdoop/hadoop-3.3.1/bin/hadoop) for HDFS access
Info: Including Hive libraries found via () for Hive access
+ exec /usr/lib/jvm/java-8-openjdk-amd64/bin/java -Xms512m -Xmx2048m -cp '/home/hdoop/flume/apache-flume-1.9.0-bin/conf:/home/hdoop/flume/apache-flume-1.9.0-bin/lib/*:/home/hdoop/flume/apache-flume-1.9.0-bin/lib/MyTwitterSourceForFlume.jar:/home/hdoop/hadoop-3.3.1/etc/hadoop:/home/hdoop/hadoop-3.3.1/share/hadoop/common/lib/*:/home/hdoop/hadoop-3.3.1/share/hadoop/common/*:/home/hdoop/hadoop-3.3.1/share/hadoop/hdfs:/home/hdoop/hadoop-3.3.1/share/hadoop/hdfs/lib/*:/home/hdoop/hadoop-3.3.1/share/hadoop/hdfs/*:/home/hdoop/hadoop-3.3.1/share/hadoop/mapreduce/*:/home/hdoop/hadoop-3.3.1/share/hadoop/yarn:/home/hdoop/hadoop-3.3.1/share/hadoop/yarn/lib/*:/home/hdoop/hadoop-3.3.1/share/hadoop/yarn/*:/lib/*' -Djava.library.path=:/home/hdoop/hadoop-3.3.1/lib/native org.apache.flume.node.Application -f conf/twitter.conf Dflume.root.logger=DEBUG,console -n TwitterAgent
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/hdoop/flume/apache-flume-1.9.0-bin/lib/slf4j-log4j12-1.7.25.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/hdoop/hadoop-3.3.1/share/hadoop/common/lib/slf4j-log4j12-1.7.30.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

谁能指导我做错了什么。为此,我遵循了以下链接,但仍然遇到同样的问题。

https://www.guru99.com/create-your-first-flume-program.html

请指导那里有什么错误以及我可以解决它的任何链接,我完全是初学者。

4

0 回答 0