Flume怎么操作

时间:2021-01-07 15:28:10
【文件属性】:
文件名称:Flume怎么操作
文件大小:357KB
文件格式:PDF
更新时间:2021-01-07 15:28:10
flume hdfs 操作 先来个小简例 我们将本地文件的内容用flume搞到HDFS上面去。 直接上配置文件吧 # example.conf: A single-node Flume configuration # Name the components on this agent a1.sources = r1 a1.sinks = k1 a1.channels = c1 # 我们Source定义了从本地文件secure末尾读取数据 # Describe/configure the source a1.sources.r1.type = exec a1.sources.r1.command = tail -F /ro

网友评论