我想将数据从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?
首先从终端转到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
1 回答
首先从终端转到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