You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by mx...@apache.org on 2015/06/12 13:44:17 UTC
flink git commit: [docs] remove obsolete YARN link and cleanup
download links
Repository: flink
Updated Branches:
refs/heads/master 42d19175b -> e45c5dc56
[docs] remove obsolete YARN link and cleanup download links
Project: http://git-wip-us.apache.org/repos/asf/flink/repo
Commit: http://git-wip-us.apache.org/repos/asf/flink/commit/e45c5dc5
Tree: http://git-wip-us.apache.org/repos/asf/flink/tree/e45c5dc5
Diff: http://git-wip-us.apache.org/repos/asf/flink/diff/e45c5dc5
Branch: refs/heads/master
Commit: e45c5dc56833510bdf247fab3360ffa7794e4936
Parents: 42d1917
Author: Maximilian Michels <mx...@apache.org>
Authored: Fri Jun 12 13:03:31 2015 +0200
Committer: Maximilian Michels <mx...@apache.org>
Committed: Fri Jun 12 13:41:38 2015 +0200
----------------------------------------------------------------------
docs/_config.yml | 6 +-----
docs/quickstart/setup_quickstart.md | 2 +-
docs/setup/yarn_setup.md | 8 ++++++--
3 files changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/flink/blob/e45c5dc5/docs/_config.yml
----------------------------------------------------------------------
diff --git a/docs/_config.yml b/docs/_config.yml
index 7d24d53..3838257 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -34,16 +34,12 @@ version_short: "0.9" # Used for the top navbar w/o snapshot suffix
# This is the Scala version we use in this version
scala_version: "2.10"
-# Download urls
-download_url: "http://flink.apache.org/downloads.html"
-download_url_hadoop1: "http://stratosphere-bin.s3-website-us-east-1.amazonaws.com/flink-0.9-SNAPSHOT-bin-hadoop1.tgz"
-download_url_hadoop2: "http://stratosphere-bin.s3-website-us-east-1.amazonaws.com/flink-0.9-SNAPSHOT-bin-hadoop2.tgz"
-
# Some commonly linked pages (this was more important to have as a variable
# during incubator; by now it should also be fine to hardcode these.)
website_url: "http://flink.apache.org"
jira_url: "https://issues.apache.org/jira/browse/FLINK"
github_url: "https://github.com/apache/flink"
+download_url: "http://flink.apache.org/downloads.html"
# Setup quickstart uses this => to be changed
FLINK_DOWNLOAD_URL_HADOOP1_STABLE: "http://www.apache.org/dyn/closer.cgi/flink/flink-0.8.1/flink-0.8.1-bin-hadoop1.tgz"
http://git-wip-us.apache.org/repos/asf/flink/blob/e45c5dc5/docs/quickstart/setup_quickstart.md
----------------------------------------------------------------------
diff --git a/docs/quickstart/setup_quickstart.md b/docs/quickstart/setup_quickstart.md
index b4206ea..67b7fe1 100644
--- a/docs/quickstart/setup_quickstart.md
+++ b/docs/quickstart/setup_quickstart.md
@@ -152,7 +152,7 @@ are very important configuration values.
## Flink on YARN
You can easily deploy Flink on your existing __YARN cluster__.
-1. Download the __Flink YARN package__ with the YARN client: [Flink for YARN]({{site.FLINK_DOWNLOAD_URL_YARN_STABLE}})
+1. Download the __Flink Hadoop2 package__: [Flink with Hadoop 2]({{site.FLINK_DOWNLOAD_URL_HADOOP2_STABLE}})
2. Make sure your __HADOOP_HOME__ (or _YARN_CONF_DIR_ or _HADOOP_CONF_DIR_) __environment variable__ is set to read your YARN and HDFS configuration.
3. Run the __YARN client__ with: `./bin/yarn-session.sh`. You can run the client with options `-n 10 -tm 8192` to allocate 10 TaskManagers with 8GB of memory each.
http://git-wip-us.apache.org/repos/asf/flink/blob/e45c5dc5/docs/setup/yarn_setup.md
----------------------------------------------------------------------
diff --git a/docs/setup/yarn_setup.md b/docs/setup/yarn_setup.md
index 71a217f..c38a910 100644
--- a/docs/setup/yarn_setup.md
+++ b/docs/setup/yarn_setup.md
@@ -28,7 +28,9 @@ under the License.
Start a YARN session with 4 Task Managers (each with 4 GB of Heapspace):
~~~bash
-wget {{ site.download_url_hadoop2 }}
+# get the hadoop2 package from the Flink download page at
+# {{ site.download_url }}
+curl -O <flink_hadoop2_download_url>
tar xvzf flink-{{ site.version }}-bin-hadoop2.tgz
cd flink-{{ site.version }}/
./bin/yarn-session.sh -n 4 -jm 1024 -tm 4096
@@ -41,7 +43,9 @@ Once the session has been started, you can submit jobs to the cluster using the
## Quickstart: Run a Flink job on YARN
~~~bash
-wget {{ site.download_url_hadoop2 }}
+# get the hadoop2 package from the Flink download page at
+# {{ site.download_url }}
+curl -O <flink_hadoop2_download_url>
tar xvzf flink-{{ site.version }}-bin-hadoop2.tgz
cd flink-{{ site.version }}/
./bin/flink -m yarn-cluster -yn 4 -yjm 1024 -ytm 4096 ./examples/flink-java-examples-{{ site.version }}-WordCount.jar