首页 文章

从Twitter到HDFS命令的流数据无法正常工作

提问于
浏览
0

我想将数据从tweeter流式传输到hdfs,我使用了这个命令:./ bin/flume-ng agent -n TwitterAgent -c conf -f /usr/lib/apache-flume-1.4.0-bin/conf/flume .conf文件

我无法得到我期待的结果 . 没有数据流 .

谁拥有linus命令将数据从tweeter传输到hdfs?

1 回答

  • 0

    首先从终端转到apache-flume-1.4.0-bin目录

    1] cd apache-flume-1.4.0-bin

    然后在终端上写下面的命令

    2] bin/flume-ng agent --conf ./conf/ -f conf/flume.conf -Dflume.root.logger=DEBUG,console -n TwitterAgent

相关问题