1. 首页
  2. 数据库
  3. 其它
  4. Flume怎么操作

Flume怎么操作

上传者: 2021-01-16 12:02:37上传 PDF文件 356.88KB 热度 11次
先来个小简例 我们将本地文件的内容用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
下载地址
用户评论