flink-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From m..@apache.org
Subject flink git commit: [docs] update "build from source" page
Date Mon, 07 Mar 2016 09:54:25 GMT
Repository: flink
Updated Branches:
  refs/heads/master cf9a0ae46 -> f9b01ba3c


[docs] update "build from source" page


Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/f9b01ba3
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/f9b01ba3
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/f9b01ba3

Branch: refs/heads/master
Commit: f9b01ba3ccbc181d2037db74deb2fc7dd119d2f4
Parents: cf9a0ae
Author: Maximilian Michels <mxm@apache.org>
Authored: Mon Mar 7 10:45:24 2016 +0100
Committer: Maximilian Michels <mxm@apache.org>
Committed: Mon Mar 7 10:49:05 2016 +0100

----------------------------------------------------------------------
 docs/setup/building.md | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flink/blob/f9b01ba3/docs/setup/building.md
----------------------------------------------------------------------
diff --git a/docs/setup/building.md b/docs/setup/building.md
index 8c1549e..a1e768b 100644
--- a/docs/setup/building.md
+++ b/docs/setup/building.md
@@ -1,8 +1,8 @@
 ---
-title: Building Flink
+title: Build Flink from Source
 top-nav-group: setup
 top-nav-pos: 1
-top-nav-title: Build Flink
+top-nav-title: Build Flink from Source
 ---
 <!--
 Licensed to the Apache Software Foundation (ASF) under one
@@ -76,22 +76,23 @@ mvn clean install -DskipTests -Dhadoop.profile=1
 
 The `-Dhadoop.profile=1` flag instructs Maven to build Flink for Hadoop 1. Note that the
features included in Flink change when using a different Hadoop profile. In particular, there
is no support for YARN and HBase in Hadoop 1 builds.
 
-### Hadoop 2
+### Hadoop 2.x
 
+Hadoop 2.X versions are only supported from version 2.3.0 upwards.
 You can also specify a specific Hadoop version to build against:
 
 ~~~bash
-mvn clean install -DskipTests -Dhadoop.version=2.4.1
+mvn clean install -DskipTests -Dhadoop.version=2.6.1
 ~~~
 
-#### Before Hadoop 2.2.0
+#### Before Hadoop 2.3.0
 
-Maven will automatically build Flink with its YARN client. The 2.2.0 Hadoop release is *not*
supported by Flink's YARN client. Therefore, you need to exclude the YARN client with the
following string: `-P!include-yarn`.
+Hadoop 2.x versions are only supported with YARN features from version 2.3.0 upwards. If
you want to use a version lower than 2.3.0, you can exclude the YARN support using the following
extra build arguments: `-P!include-yarn`.
 
-So if you are building Flink for Hadoop `2.0.0-alpha`, use the following command:
+For example, if you want to build Flink for Hadoop `2.2.0`, use the following command:
 
 ~~~bash
-mvn clean install -P!include-yarn -Dhadoop.version=2.0.0-alpha
+mvn clean install -Dhadoop.version=2.2.0 -P!include-yarn
 ~~~
 
 ### Vendor-specific Versions
@@ -99,7 +100,7 @@ mvn clean install -P!include-yarn -Dhadoop.version=2.0.0-alpha
 To build Flink against a vendor specific Hadoop version, issue the following command:
 
 ~~~bash
-mvn clean install -DskipTests -Pvendor-repos -Dhadoop.version=2.2.0-cdh5.0.0-beta-2
+mvn clean install -DskipTests -Pvendor-repos -Dhadoop.version=2.6.1-cdh5.0.0
 ~~~
 
 The `-Pvendor-repos` activates a Maven [build profile](http://maven.apache.org/guides/introduction/introduction-to-profiles.html)
that includes the repositories of popular Hadoop vendors such as Cloudera, Hortonworks, or
MapR.


Mime
View raw message