美文网首页
Flume 命令行

Flume 命令行

作者: ximengchj | 来源:发表于2017-02-06 20:50 被阅读0次

用法: bin/flume-ng <command> [options]...

commands:
help 显示帮助
agent 运行Flume代理
avro-client 运行一个avro Flume客户端
version 显示Flume版本

global options:
--conf,-c <conf> 使用配置文件
--classpath,-C <cp> 附加classpath路径
--dryrun,-d do not actually start Flume, just print the command
--plugins-path <dirs> 冒号分割的插件文件夹列表. See the
plugins.d section in the user guide for more details.
Default: $FLUME_HOME/plugins.d
-Dproperty=value sets a Java system property value
-Xproperty=value sets a Java -X option

agent options:
--name,-n <name> agent名称
--conf-file,-f <file> 指定配置文件 (required if -z missing)
--zkConnString,-z <str> 指定 ZooKeeper 连接 (required if -f missing)
--zkBasePath,-p <path> 指定 ZooKeeper中的 agent配置文件路径
--no-reload-conf 如果配置更改了不重新加载
--help,-h display help text

avro-client options:
--rpcProps,-P <file> RPC client properties file with server connection params
--host,-H <host> hostname to which events will be sent
--port,-p <port> port of the avro source
--dirname <dir> directory to stream to avro source
--filename,-F <file> text file to stream to avro source (default: std input)
--headerFile,-R <file> File containing event headers as key/value pairs on each new line
--help,-h display help text

Either --rpcProps or both --host and --port must be specified.

Note that if <conf> directory is specified, then it is always included first
in the classpath.

相关文章

  • Flume 命令行

    用法: bin/flume-ng [options]... commands:help ...

  • Flume01

    Flume架构组成 Flume 负载均衡 Flume Agent内部原理 启动 Flume 监听

  • Flume

    总结 一、Flume的定义 1、flume的优势 2、flume的组成 3、flume的架构 二、 flume部署...

  • 玩转大数据计算之Flume

    Flume版本:我们使用Flume最新的版本:Flume NG 1.7.0 Flume架构Flume是一个分布式的...

  • Flume 入门

    一:Flume是什么: 二:特点: 三:Flume版本介绍 四:Flume NG基本架构 五:Flume NG核心...

  • flume的部署和测试

    1 flume 安装 flume下载:http://flume.apache.org/download.htmlf...

  • 091-BigData-19Flume与Flume之间数据传递

    上一篇:090-BigData-18Flume Flume与Flume之间数据传递 一、单Flume多Channe...

  • java大数据之flume

    一、Flume简介 1.1 Flume的位置 1.2 Flume是什么 (1)Flume提供一种分布式的,可靠地,...

  • Flume(一)概述

    Flume图标 Flume图标 Flume定义 Apache Flume是一个分布式,可靠且可用的系统,用于有效地...

  • Flume pull方式和push方式整合

    Pull方式 Flume Agent 编写 启动Flume Push方式 Flume Agent的编写 启动flu...

网友评论

      本文标题:Flume 命令行

      本文链接:https://www.haomeiwen.com/subject/sqbuittx.html