如何在提取tweet时解决flume中未处理的错误

62o28rlo  于 2021-06-04  发布在  Flume
关注(0)|答案(1)|浏览(284)

接收到未处理的错误-org.apache.flume.node.pollingpropertiesfileconfigurationproviders$filewatchrunnable.run(pollingpropertiesfileconfigurationprovider.java
我试图提取到hdfs的推特使用flume。但是获取org.apache.flume.node.pollingpropertiesfileconfigurationprovider$filewatchrunnable.run(pollingpropertiesfileconfigurationprovider.java)未处理的错误配置、env.sh文件和.bashrc文件的详细信息包含在附件中。文件还包含twitter4j版本(4j.0),请查看并建议解决方案。随附详细信息。。。。

t40tm48m

t40tm48m1#

我在flume-1.6版本中也遇到了同样的错误。在flume.conf中,更新twitter源类型如下:

TwitterAgent.sources.Twitter.type = org.apache.flume.source.twitter.TwitterSource

我没有使用flume-sources-1.0.snapshot.jar
谢谢。

相关问题