ソースとシンクが hdfs であるため、flume に通常のテキスト ファイルを提供しようとしています。ソース、チャネル、およびシンクは登録済みで開始されていることを示していますが、hdfs の出力ディレクトリには何も入っていません。 ???????
1 に答える
0
Flume .conf ファイルの Conf は次のとおりです。
agent12.sources = source1
agent12.channels = channel1
agent12.sinks = HDFS
agent12.sources.source1.type = exec
agent12.sources.source1.command = tail -F /usr/sap/sample.txt
agent12.sources.source1.channels = channel1
agent12.sinks.HDFS.channels = channel1
agent12.sinks.HDFS.type = hdfs
agent12.sinks.HDFS.hdfs.path= hdfs://172.18.36.248:50070:user/root/xz
agent12.channels.channel1.type =memory
agent12.channels.channel1.capacity = 1000
エージェントが使い始めました
/usr/bin/flume-ng agent -n agent12 -c usr/lib//flume-ng/conf/sample.conf -f /usr/lib/flume-ng/conf/flume-conf.properties.template
于 2013-01-10T10:11:46.740 に答える