forked from apache/logging-flume
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathREADME
77 lines (50 loc) · 2.56 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
h1. Welcome to Apache Flume!
Apache Flume is a distributed, reliable, and available service for efficiently
collecting, aggregating, and moving large amounts of log data. It has a simple
and flexible architecture based on streaming data flows. It is robust and fault
tolerant with tunable reliability mechanisms and many failover and recovery
mechanisms. The system is centrally managed and allows for intelligent dynamic
management. It uses a simple extensible data model that allows for online
analytic application.
The Apache Flume 1.x (NG) code line is a refactoring of the first generation
Flume to solve certain known issues and limitations of the original design.
Apache Flume is open-sourced under the Apache Software Foundation License v2.0.
h2. Documentation
Documentation is included in the binary distribution under the docs directory.
In source form, it can be found in the flume-ng-doc directory.
The Flume 1.x guide and FAQ are available here:
* https://cwiki.apache.org/FLUME/flume-ng.html
* https://cwiki.apache.org/confluence/display/FLUME/Getting+Started
h2. Contact us!
* Mailing lists: https://cwiki.apache.org/confluence/display/FLUME/Mailing+Lists
* IRC channel #flume on irc.freenode.net
Bug and Issue tracker.
* https://issues.apache.org/jira/browse/FLUME
h2. Compiling Flume
Compiling Flume requires the following tools:
* Oracle Java JDK 1.6
* Apache Maven 3.x
Note: The Apache Flume build requires more memory than the default configuration.
We recommend you set the following Maven options:
export MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m"
To compile Flume, run `mvn compile`.
To build a distribution, run `mvn install`.
The final Flume distribution artifacts will be in $project/flume-ng-dist/target/.
h2. Compiling Flume with MapR patches
Clone and checkout the "<flume-version>-mapr" tag or branch of the Apache Flume
release version from the github (https://github.com/mapr/flume). For example,
if you want to compile Flume version 1.3.1, checkout the "1.3.1-mapr" tag.
$ mkdir flume-1.3.1-mapr
$ cd flume-1.3.1-mapr
$ git clone [email protected]/mapr/flume.git .
$ git checkout flume-1.3.1-mapr
$ mvn clean -DskipTests
The command line argument `-DskipTests` is optional and allows you to skip running
the unit tests.
Using Flume artifacts in your Maven Project
Add the following dependency to your project's pom.xml
<dependency>
<groupId>com.mapr.flume</groupId>
<artifactId>flume</artifactId>
<version>${mapr.flume.version}</version>
</dependency>