Flume-Installation and launch instructions

Source: Internet
Author: User
Install flume

1, to the official website download flume, download address: http://flume.apache.org/download.html

2, [root@bicloud77 home]# tar zxvf apache-flume-1.5.2-bin.tar.gz

3, [root@bicloud77 home]# CD Apache-flume-1.5.2-bin

4,[root@bicloud76 apache-flume-1.5.2-bin]# bin/flume-ng Version
Flume 1.5.2
Source Code Repository:https://git-wip-us.apache.org/repos/asf/flume.git
Revision:229442aa6835ee0faa17e3034bcab42754c460f5
Compiled by Hshreedharan on Wed Nov 12:51:22 PST 2014
From source with checksum 837f81bd1e304a65fcaf8e5f692b3f18
5, successful Installation

6, Start command: Bin/flume-ng agent-c conf-f conf/flume-conf-n a1-dflume.root.logger=debug,console
Flume startup parameter

[Root@bicloud77 bin]#./flume-ng error:unknown or Unspecified command ' Usage:./flume-ng <command> [Options] ...

.           Commands:help Display this help text agent run a Flume agent Avro-client Run an Avro Flume client version show Flume version info global options:--conf,-c <conf> u Se configs in <conf> directory--classpath,-c <cp> append to the classpath--dryrun,-d does not Actually start Flume, just print the command--plugins-path <dirs> colon-separated List of PLUGINS.D directories.
                        The PLUGINS.D section of the User Guide for more details. Default: $FLUME _home/plugins.d-dproperty=value Sets a Java system property Value-xproperty=value sets a Ja      Va-x option Agent options:--conf-file,-f <file> Specify a config file (required)--name,-n <name>
The name of this agent (required)  --help,-h Display Help text avro-client options:--rpcprops,-p <file> RPC Client Properties file With server connection params--host,-h  
Command 

 
Parameters
Describe
Help
Printing Help information
Agent
Run a flume Agent
Avro-client
Run a Avro Flume client
Version
Displays the flume version.
Global Options
Parameters
Describe
--conf,-c <conf>
Use the configuration file in the <conf> directory. Specify what directory the configuration file is placed in
--classpath,-c <cp>
Append a Classpath
--dryrun,-d
Does not actually run the agent, but simply prints some information about the command.
--plugins-path <dirs>
List of plug-in directories. Default: $FLUME _HOME/PLUGINS.D
-dproperty=value Sets a Java system property value.
-xproperty=value Set a java-x option.
Agent Options
Parameters
Describe
--conf-file,-f <file>
Specifies the configuration file, which must be in the directory defined by the--conf parameter of the global option . (required)
--name,-n <name>
Name of agent (required)
--help,-h
Help
Avro Client Options
Parameters
Describe
--rpcprops,-p <file>
The configuration file for the connection parameter.
--host,-h The hostname to which the event is to be sent.
--port,-p <port>
The port of the Avro source.
--dirname <dir>
Avro the source stream arrives in the directory.
--filename,-f <file> Avro the file name to which the source stream arrived.
--headerfile,-r <file> Set a java-x option.

Start Avro clients either specify--rpcprops, or specify--host and--port.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.