File tree Expand file tree Collapse file tree 7 files changed +8
-32
lines changed
flume-ng-sources/flume-taildir-source Expand file tree Collapse file tree 7 files changed +8
-32
lines changed Original file line number Diff line number Diff line change @@ -21,4 +21,4 @@ before_install:
21
21
install :
22
22
- # Skip mvn install. See https://docs.travis-ci.com/user/languages/java/
23
23
script :
24
- - MAVEN_OPTS="-Xms512m -Xmx1024m -XX:PermSize=256m -XX:MaxPermSize=512m " mvn clean install -DskipTests
24
+ - MAVEN_OPTS="-Xms512m -Xmx1024m" mvn clean install -DskipTests
Original file line number Diff line number Diff line change @@ -41,17 +41,7 @@ to most devs are "compile" -> "test" -> "package" -> "install".
41
41
42
42
Set MAVEN_OPTS to give the Flume build enough RAM to build.
43
43
44
- export MAVEN_OPTS="-Xmx512M -XX:MaxPermSize=512M"
45
-
46
- Note: If you see a permgen error (below), you need to increase the perm gen size.
47
-
48
- [ERROR] PermGen space -> [Help 1]
49
- [ERROR]
50
- [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
51
- [ERROR] Re-run Maven using the -X switch to enable full debug logging.
52
- [ERROR]
53
- [ERROR] For more information about the errors and possible solutions, please read the following articles:
54
- [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
44
+ export MAVEN_OPTS="-Xms512m -Xmx1024m"
55
45
56
46
Builds
57
47
------
Original file line number Diff line number Diff line change @@ -55,13 +55,13 @@ Bug and Issue tracker.
55
55
56
56
Compiling Flume requires the following tools:
57
57
58
- * Oracle Java JDK 1.7
58
+ * Oracle Java JDK 1.8
59
59
* Apache Maven 3.x
60
60
61
61
Note: The Apache Flume build requires more memory than the default configuration.
62
62
We recommend you set the following Maven options:
63
63
64
- export MAVEN_OPTS="-Xms512m -Xmx1024m -XX : PermSize =256m -XX : MaxPermSize =512m"
64
+ ` export MAVEN_OPTS="-Xms512m -Xmx1024m" `
65
65
66
66
To compile Flume and build a distribution tarball, run ` mvn install ` from the
67
67
top level directory. The artifacts will be placed under ` flume-ng-dist/target/ ` .
Original file line number Diff line number Diff line change 19
19
20
20
# Enviroment variables can be set here.
21
21
22
- # export JAVA_HOME=/usr/lib/jvm/java-6-sun
22
+ # export JAVA_HOME=/usr/lib/jvm/java-8-oracle
23
23
24
24
# Give Flume more memory and pre-allocate, enable remote monitoring via JMX
25
25
# export JAVA_OPTS="-Xms100m -Xmx2000m -Dcom.sun.management.jmxremote"
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ in the latest architecture.
50
50
System Requirements
51
51
-------------------
52
52
53
- #. Java Runtime Environment - Java 1.7 or later
53
+ #. Java Runtime Environment - Java 1.8 or later
54
54
#. Memory - Sufficient memory for configurations used by sources, channels or sinks
55
55
#. Disk Space - Sufficient disk space for configurations used by channels or sinks
56
56
#. Directory Permissions - Read/Write permissions for directories used by agent
Original file line number Diff line number Diff line change @@ -30,20 +30,6 @@ limitations under the License.
30
30
<artifactId >flume-taildir-source</artifactId >
31
31
<name >Flume Taildir Source</name >
32
32
33
- <build >
34
- <plugins >
35
- <plugin >
36
- <groupId >org.apache.maven.plugins</groupId >
37
- <artifactId >maven-compiler-plugin</artifactId >
38
- <version >2.3.2</version >
39
- <configuration >
40
- <source >1.7</source >
41
- <target >1.7</target >
42
- </configuration >
43
- </plugin >
44
- </plugins >
45
- </build >
46
-
47
33
<dependencies >
48
34
<dependency >
49
35
<groupId >org.apache.flume</groupId >
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ limitations under the License.
37
37
<project .build.sourceEncoding>UTF-8</project .build.sourceEncoding>
38
38
39
39
<!-- Java compiler configuration -->
40
- <sourceJavaVersion >1.7 </sourceJavaVersion >
41
- <targetJavaVersion >1.7 </targetJavaVersion >
40
+ <sourceJavaVersion >1.8 </sourceJavaVersion >
41
+ <targetJavaVersion >1.8 </targetJavaVersion >
42
42
43
43
<!-- defaults for flaky test and focused test exclusions -->
44
44
<test .exclude.pattern>$</test .exclude.pattern> <!-- junk pattern -->
You can’t perform that action at this time.
0 commit comments