Pick the Apache Flink package matching your Hadoop version.
Apache Flink 0.8.1 is our latest stable release.
Pick this package if you plan to use Flink with data stored in Hadoop 1.x.
Also pick this version if you don't plan to use Flink with Hadoop at all.
Pick this package if you plan to install Flink use Flink with data stored in Hadoop 2.x.
Pick this package if you plan to use Flink with Hadoop YARN.
Review the source code or build Flink on your own, using this package
You can add the following dependencies to your pom.xml
to include Apache Flink in your project.
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
<version>0.8.1</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-clients</artifactId>
<version>0.8.1</version>
</dependency>
These dependencies include a local execution environment and thus support local testing.
0.8.1-hadoop1
as the version.flink-java
artifact id with flink-scala
.This milestone release is a preview of the upcoming 0.9 release. Check out the announcement for all the details.
You can add the following dependencies to your pom.xml
to include Apache Flink in your project.
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-java</artifactId>
<version>0.9.0-milestone-1</version>
</dependency>
<dependency>
<groupId>org.apache.flink</groupId>
<artifactId>flink-clients</artifactId>
<version>0.9.0-milestone-1</version>
</dependency>
These dependencies include a local execution environment and thus support local testing.
0.9.0-milestone-1-hadoop1
as the version.flink-java
artifact id with flink-scala
.Apache Flink 0.9-SNAPSHOT
is our latest development version.
You can download a packaged version of our nightly builds, which include the most recent development code. You can use them if you need a feature before its release. Only builds that pass all tests are published here.
Add the Apache Snapshot repository to your Maven pom.xml
:
<repositories>
<repository>
<id>apache.snapshots</id>
<name>Apache Development Snapshot Repository</name>
<url>https://repository.apache.org/content/repositories/snapshots/</url>
<releases><enabled>false</enabled></releases>
<snapshots><enabled>true</enabled></snapshots>
</repository>
</repositories>
You can now include Apache Flink as a Maven dependency (see above) with version 0.9-SNAPSHOT
(or 0.9-SNAPSHOT-hadoop1
for compatibility with old Hadoop versions (1.x).
You can checkout Apache Flink 0.9-SNAPSHOT and build it on your own machine.
git clone https://github.com/apache/flink
cd flink
mvn clean package -DskipTests
Note: Flink does not build with Oracle JDK 6. It runs with Oracle JDK 6.
If you want to build for Hadoop 1, activate the build profile via mvn clean package -DskipTests -Dhadoop.profile=1
.