We have seen an increasing interest to get Flume natively running on
Windows |
Note that Flume 1.x is not officially supported on Windows and the following instructions are only meant to help interested parties - it does not mean that Flume is supported by the community on Windows. Please note that YMMV. |
Build system
maven 3x, git, jdk1.6.x, WinRAR (or similar program)
Apache Flume agent node
jdk1.6.x, WinRAR (or similar program), Ultraedit++ or similar texteditor
JAVA_HOME
" into "Variable name" and the path to your JDK installation into "Variable value" (Example: C:\Program Files (x86)\Java\jdk1.6.0_33
)M2_HOME
", value Path to your maven installation (Example: D:\Maven\apache-maven-3.0.4
)M2
", value "%M2_HOME%\bin
"MAVEN_OPTS
", value "-XX:MaxPermSize=1024M
"mvn clean
" and "mvn package -DskipTests
"flume.root.logger=INFO,LOGFILE
flume.root.logger=DEBUG,CONSOLE
flume-1.3.0-SNAPSHOT>"c:\Program Files (x86)\Java\jdk1.6.0_33\bin\java.exe" -Xmx20m -Dlog4j.configuration=
file:///%CD%\conf\log4j.properties
-cp "lib*" org.apache.flume.node.Application -f conf\test1.conf -n syslog-agent
Path to java.exe + Java related options + log4j config in Windows Uri style + Flume libs + application + config
This section will be extend from time to time. These sinks where reported in from users as working: