You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by al...@apache.org on 2019/05/13 10:04:28 UTC

[flink] branch master updated: [FLINK-12493] Add step to export Hadoop classpath to docs

This is an automated email from the ASF dual-hosted git repository.

aljoscha pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink.git


The following commit(s) were added to refs/heads/master by this push:
     new 518616e  [FLINK-12493] Add step to export Hadoop classpath to docs
518616e is described below

commit 518616e9f3527b2564a640b38c80db3eb54bef37
Author: Alberto Romero <al...@onepoint62.com>
AuthorDate: Mon May 13 11:04:17 2019 +0100

    [FLINK-12493] Add step to export Hadoop classpath to docs
    
    Github PR #8422
---
 docs/ops/deployment/aws.md | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/docs/ops/deployment/aws.md b/docs/ops/deployment/aws.md
index b465340..16e9bd7 100644
--- a/docs/ops/deployment/aws.md
+++ b/docs/ops/deployment/aws.md
@@ -56,7 +56,13 @@ when creating an EMR cluster.
 After creating your cluster, you can [connect to the master node](http://docs.aws.amazon.com/ElasticMapReduce/latest/ManagementGuide/emr-connect-master-node.html) and install Flink:
 
 1. Go the [Downloads Page]({{ site.download_url }}) and **download a binary version of Flink matching the Hadoop version** of your EMR cluster, e.g. Hadoop 2.7 for EMR releases 4.3.0, 4.4.0, or 4.5.0.
-2. Extract the Flink distribution and you are ready to deploy [Flink jobs via YARN](yarn_setup.html) after **setting the Hadoop config directory**:
+2. Make sure all the Hadoop dependencies are in the classpath before you submit any jobs to EMR:
+
+{% highlight bash %}
+export HADOOP_CLASSPATH=`hadoop classpath`
+{% endhighlight %}
+
+3. Extract the Flink distribution and you are ready to deploy [Flink jobs via YARN](yarn_setup.html) after **setting the Hadoop config directory**:
 
 {% highlight bash %}
 HADOOP_CONF_DIR=/etc/hadoop/conf ./bin/flink run -m yarn-cluster -yn 1 examples/streaming/WordCount.jar