Flume学习笔记(二)监控日志文件并将内容保存到HDFS上
1)在$FLUME_HOME/conf目录下创建logs-to-hdfs.conf文件并编辑,内容如下
# Name the components on this agent
a2.sources = r2
a2.sinks = k2
a2.channels = c2
# Describe/configure the source
a2.sources.r2.type = exec
a2.s...
原创
2019-02-23 18:25:23 ·
930 阅读 ·
0 评论