You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by rm...@apache.org on 2014/07/16 17:02:18 UTC
svn commit: r1611039 - in /incubator/flink: ./ site/ site/docs/0.6-SNAPSHOT/
Author: rmetzger
Date: Wed Jul 16 15:02:17 2014
New Revision: 1611039
URL: http://svn.apache.org/r1611039
Log:
Fix quickstart example (only valid until we have a 0.6 release out)
Modified:
incubator/flink/_config.yml
incubator/flink/site/docs/0.6-SNAPSHOT/cli.html
incubator/flink/site/docs/0.6-SNAPSHOT/cluster_execution.html
incubator/flink/site/docs/0.6-SNAPSHOT/java_api_guide.html
incubator/flink/site/docs/0.6-SNAPSHOT/java_api_quickstart.html
incubator/flink/site/docs/0.6-SNAPSHOT/local_execution.html
incubator/flink/site/docs/0.6-SNAPSHOT/run_example_quickstart.html
incubator/flink/site/docs/0.6-SNAPSHOT/scala_api_guide.html
incubator/flink/site/docs/0.6-SNAPSHOT/scala_api_quickstart.html
incubator/flink/site/docs/0.6-SNAPSHOT/setup_quickstart.html
incubator/flink/site/docs/0.6-SNAPSHOT/spargel_guide.html
incubator/flink/site/docs/0.6-SNAPSHOT/yarn_setup.html
incubator/flink/site/downloads.html
incubator/flink/site/index.html
Modified: incubator/flink/_config.yml
URL: http://svn.apache.org/viewvc/incubator/flink/_config.yml?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/_config.yml (original)
+++ incubator/flink/_config.yml Wed Jul 16 15:02:17 2014
@@ -5,9 +5,9 @@
# {{ site.CONFIG_KEY }}
#------------------------------------------------------------------------------
-FLINK_VERSION_STABLE: 0.5.1
-FLINK_VERSION_STABLE_SHORT: 0.5.1
-FLINK_GITHUB_TAG_STABLE: release-0.5.1
+FLINK_VERSION_STABLE: 0.5.2
+FLINK_VERSION_STABLE_SHORT: 0.5.2
+FLINK_GITHUB_TAG_STABLE: release-0.5.2
FLINK_VERSION_LATEST: 0.6-SNAPSHOT
FLINK_VERSION_LATEST_SHORT: 0.6
@@ -19,9 +19,9 @@ FLINK_ISSUES_URL: https://issues.apache.
FLINK_GITHUB_URL: https://github.com/apache/incubator-flink
FLINK_GITHUB_REPO_NAME: incubator-flink
-FLINK_DOWNLOAD_URL_HADOOP_1_STABLE: https://github.com/stratosphere/stratosphere/releases/download/release-0.5.1/stratosphere-bin-0.5.1.tgz
-FLINK_DOWNLOAD_URL_HADOOP_2_STABLE: https://github.com/stratosphere/stratosphere/releases/download/release-0.5.1/stratosphere-bin-0.5.1-hadoop2.tgz
-FLINK_DOWNLOAD_URL_YARN_STABLE: https://github.com/stratosphere/stratosphere/releases/download/release-0.5.1/stratosphere-bin-0.5.1-yarn.tar.gz
+FLINK_DOWNLOAD_URL_HADOOP_1_STABLE: https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-bin.tgz
+FLINK_DOWNLOAD_URL_HADOOP_2_STABLE: https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-hadoop2-bin.tgz
+FLINK_DOWNLOAD_URL_YARN_STABLE: https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-yarn.tar.gz
FLINK_DOWNLOAD_URL_HADOOP_1_LATEST: http://stratosphere-bin.s3-website-us-east-1.amazonaws.com/stratosphere-0.6-SNAPSHOT.tgz
FLINK_DOWNLOAD_URL_HADOOP_2_LATEST: http://stratosphere-bin.s3-website-us-east-1.amazonaws.com/stratosphere-0.6-hadoop2-SNAPSHOT.tgz
Modified: incubator/flink/site/docs/0.6-SNAPSHOT/cli.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/docs/0.6-SNAPSHOT/cli.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/docs/0.6-SNAPSHOT/cli.html (original)
+++ incubator/flink/site/docs/0.6-SNAPSHOT/cli.html Wed Jul 16 15:02:17 2014
@@ -186,27 +186,27 @@ local.sh</code> or <code><flink-home&
<ul>
<li><p>Run example program with no arguments.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">./bin/flink run ./examples/flink-java-examples-0.5.1-WordCount.jar
+<div class="highlight"><pre><code class="language-text" data-lang="text">./bin/flink run ./examples/flink-java-examples-0.5.2-WordCount.jar
</code></pre></div></li>
<li><p>Run example program with arguments for input and result files</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">./bin/flink run ./examples/flink-java-examples-0.5.1-WordCount.jar \
+<div class="highlight"><pre><code class="language-text" data-lang="text">./bin/flink run ./examples/flink-java-examples-0.5.2-WordCount.jar \
file:///home/user/hamlet.txt file:///home/user/wordcount_out
</code></pre></div></li>
<li><p>Run example program with parallelism 16 and arguments for input and result files</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">./bin/flink run -p 16 ./examples/flink-java-examples-0.5.1-WordCount.jar \
+<div class="highlight"><pre><code class="language-text" data-lang="text">./bin/flink run -p 16 ./examples/flink-java-examples-0.5.2-WordCount.jar \
file:///home/user/hamlet.txt file:///home/user/wordcount_out
</code></pre></div></li>
<li><p>Run example program on a specific JobManager:</p>
<div class="highlight"><pre><code class="language-text" data-lang="text">./bin/flink run -m myJMHost:6123 \
- ./examples/flink-java-examples-0.5.1-WordCount.jar \
+ ./examples/flink-java-examples-0.5.2-WordCount.jar \
-file:///home/user/hamlet.txt file:///home/user/wordcount_out
</code></pre></div></li>
<li><p>Display the expected arguments for the WordCount example program:</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text">./bin/flink info -d ./examples/flink-java-examples-0.5.1-WordCount.jar
+<div class="highlight"><pre><code class="language-text" data-lang="text">./bin/flink info -d ./examples/flink-java-examples-0.5.2-WordCount.jar
</code></pre></div></li>
<li><p>Display the optimized execution plan for the WordCount example program as JSON:</p>
<div class="highlight"><pre><code class="language-text" data-lang="text">./bin/flink info -e
- ./examples/flink-java-examples-0.5.1-WordCount.jar \
+ ./examples/flink-java-examples-0.5.2-WordCount.jar \
file:///home/user/hamlet.txt file:///home/user/wordcount_out
</code></pre></div></li>
<li><p>List scheduled and running jobs (including their JobIDs):</p>
Modified: incubator/flink/site/docs/0.6-SNAPSHOT/cluster_execution.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/docs/0.6-SNAPSHOT/cluster_execution.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/docs/0.6-SNAPSHOT/cluster_execution.html (original)
+++ incubator/flink/site/docs/0.6-SNAPSHOT/cluster_execution.html Wed Jul 16 15:02:17 2014
@@ -205,7 +205,7 @@ execute the program.</p>
<div class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.flink<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>flink-clients<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.5.1<span class="nt"></version></span>
+ <span class="nt"><version></span>0.5.2<span class="nt"></version></span>
<span class="nt"></dependency></span>
</code></pre></div>
<h2 id="example">Example</h2>
@@ -245,7 +245,7 @@ Flink programs on a cluster directly. Th
<div class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.flink<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>flink-clients<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.5.1<span class="nt"></version></span>
+ <span class="nt"><version></span>0.5.2<span class="nt"></version></span>
<span class="nt"></dependency></span>
</code></pre></div>
<h2 id="example">Example</h2>
Modified: incubator/flink/site/docs/0.6-SNAPSHOT/java_api_guide.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/docs/0.6-SNAPSHOT/java_api_guide.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/docs/0.6-SNAPSHOT/java_api_guide.html (original)
+++ incubator/flink/site/docs/0.6-SNAPSHOT/java_api_guide.html Wed Jul 16 15:02:17 2014
@@ -432,18 +432,18 @@
<div class="highlight"><pre><code class="language-bash" data-lang="bash">mvn archetype:generate /
-DarchetypeGroupId<span class="o">=</span>org.apache.flink/
-DarchetypeArtifactId<span class="o">=</span>flink-quickstart-java /
- -DarchetypeVersion<span class="o">=</span>0.5.1
+ -DarchetypeVersion<span class="o">=</span>0.5.2
</code></pre></div>
<p>If you want to add Flink to an existing Maven project, add the following entry to your <em>dependencies</em> section in the <em>pom.xml</em> file of your project:</p>
<div class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.flink<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>flink-java<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.5.1<span class="nt"></version></span>
+ <span class="nt"><version></span>0.5.2<span class="nt"></version></span>
<span class="nt"></dependency></span>
<span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.flink<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>flink-clients<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.5.1<span class="nt"></version></span>
+ <span class="nt"><version></span>0.5.2<span class="nt"></version></span>
<span class="nt"></dependency></span>
</code></pre></div>
<p>In order to link against the latest SNAPSHOT versions of the code, please follow <a href="/downloads.html/#nightly">this guide</a>.</p>
Modified: incubator/flink/site/docs/0.6-SNAPSHOT/java_api_quickstart.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/docs/0.6-SNAPSHOT/java_api_quickstart.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/docs/0.6-SNAPSHOT/java_api_quickstart.html (original)
+++ incubator/flink/site/docs/0.6-SNAPSHOT/java_api_quickstart.html Wed Jul 16 15:02:17 2014
@@ -197,7 +197,7 @@
<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>mvn archetype:generate <span class="se">\</span>
-DarchetypeGroupId<span class="o">=</span>org.apache.flink <span class="se">\</span>
-DarchetypeArtifactId<span class="o">=</span>flink-quickstart-java <span class="se">\</span>
- -DarchetypeVersion<span class="o">=</span>0.5.1</code></pre></div>
+ -DarchetypeVersion<span class="o">=</span>0.5.2</code></pre></div>
This allows you to <strong>name your newly created project</strong>. It will interactively ask you for the groupId, artifactId, and package name.
</div>
Modified: incubator/flink/site/docs/0.6-SNAPSHOT/local_execution.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/docs/0.6-SNAPSHOT/local_execution.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/docs/0.6-SNAPSHOT/local_execution.html (original)
+++ incubator/flink/site/docs/0.6-SNAPSHOT/local_execution.html Wed Jul 16 15:02:17 2014
@@ -191,7 +191,7 @@
<div class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.flink<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>flink-clients<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.5.1<span class="nt"></version></span>
+ <span class="nt"><version></span>0.5.2<span class="nt"></version></span>
<span class="nt"></dependency></span>
</code></pre></div>
<h1 id="local-environment">Local Environment</h1>
Modified: incubator/flink/site/docs/0.6-SNAPSHOT/run_example_quickstart.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/docs/0.6-SNAPSHOT/run_example_quickstart.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/docs/0.6-SNAPSHOT/run_example_quickstart.html (original)
+++ incubator/flink/site/docs/0.6-SNAPSHOT/run_example_quickstart.html Wed Jul 16 15:02:17 2014
@@ -184,7 +184,7 @@ cd flink-*
mkdir kmeans
cd kmeans
# Run data generator
-java -cp ../examples/flink-java-examples-0.5.1-KMeans.jar org.apache.flinkexample.java.clustering.util.KMeansDataGenerator 500 10 0.08
+java -cp ../examples/flink-java-examples-0.5.2-KMeans.jar org.apache.flinkexample.java.clustering.util.KMeansDataGenerator 500 10 0.08
cp /tmp/points .
cp /tmp/centers .
</code></pre></div>
Modified: incubator/flink/site/docs/0.6-SNAPSHOT/scala_api_guide.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/docs/0.6-SNAPSHOT/scala_api_guide.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/docs/0.6-SNAPSHOT/scala_api_guide.html (original)
+++ incubator/flink/site/docs/0.6-SNAPSHOT/scala_api_guide.html Wed Jul 16 15:02:17 2014
@@ -364,12 +364,12 @@ following lines to your POM.</p>
<span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.flink<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>flink-scala<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.5.1<span class="nt"></version></span>
+ <span class="nt"><version></span>0.5.2<span class="nt"></version></span>
<span class="nt"></dependency></span>
<span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.flink<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>flink-clients<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.5.1<span class="nt"></version></span>
+ <span class="nt"><version></span>0.5.2<span class="nt"></version></span>
<span class="nt"></dependency></span>
<span class="nt"></dependencies></span>
</code></pre></div>
Modified: incubator/flink/site/docs/0.6-SNAPSHOT/scala_api_quickstart.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/docs/0.6-SNAPSHOT/scala_api_quickstart.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/docs/0.6-SNAPSHOT/scala_api_quickstart.html (original)
+++ incubator/flink/site/docs/0.6-SNAPSHOT/scala_api_quickstart.html Wed Jul 16 15:02:17 2014
@@ -197,7 +197,7 @@
<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>mvn archetype:generate <span class="se">\</span>
-DarchetypeGroupId<span class="o">=</span>org.apache.flink <span class="se">\</span>
-DarchetypeArtifactId<span class="o">=</span>flink-quickstart-scala <span class="se">\</span>
- -DarchetypeVersion<span class="o">=</span>0.5.1</code></pre></div>
+ -DarchetypeVersion<span class="o">=</span>0.5.2</code></pre></div>
This allows you to <strong>name your newly created project</strong>. It will interactively ask you for the groupId, artifactId, and package name.
</div>
Modified: incubator/flink/site/docs/0.6-SNAPSHOT/setup_quickstart.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/docs/0.6-SNAPSHOT/setup_quickstart.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/docs/0.6-SNAPSHOT/setup_quickstart.html (original)
+++ incubator/flink/site/docs/0.6-SNAPSHOT/setup_quickstart.html Wed Jul 16 15:02:17 2014
@@ -191,10 +191,10 @@
<p><div class="tab-content text-center">
<div class="tab-pane active" id="bin-hadoop1">
- <a class="btn btn-info btn-lg" onclick="_gaq.push(['_trackEvent','Action','download-quickstart-setup-1',this.href]);" href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.1/stratosphere-bin-0.5.1.tgz"><i class="icon-download"> </i> Download Flink for Hadoop 1.2</a>
+ <a class="btn btn-info btn-lg" onclick="_gaq.push(['_trackEvent','Action','download-quickstart-setup-1',this.href]);" href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-bin.tgz"><i class="icon-download"> </i> Download Flink for Hadoop 1.2</a>
</div>
<div class="tab-pane" id="bin-hadoop2">
- <a class="btn btn-info btn-lg" onclick="_gaq.push(['_trackEvent','Action','download-quickstart-setup-2',this.href]);" href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.1/stratosphere-bin-0.5.1-hadoop2.tgz"><i class="icon-download"> </i> Download Flink for Hadoop 2</a>
+ <a class="btn btn-info btn-lg" onclick="_gaq.push(['_trackEvent','Action','download-quickstart-setup-2',this.href]);" href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-hadoop2-bin.tgz"><i class="icon-download"> </i> Download Flink for Hadoop 2</a>
</div>
</div>
</p></p>
@@ -227,7 +227,7 @@ $ wget -O hamlet.txt http://www.gutenber
<li>You now have a text file called <em>hamlet.txt</em> in your working directory.</li>
<li><p><strong>Start the example program</strong>:</p>
<div class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>bin/flink run <span class="se">\</span>
---jarfile ./examples/flink-java-examples-0.5.1-WordCount.jar <span class="se">\</span>
+--jarfile ./examples/flink-java-examples-0.5.2-WordCount.jar <span class="se">\</span>
--arguments file://<span class="sb">`</span><span class="nb">pwd</span><span class="sb">`</span>/hamlet.txt file://<span class="sb">`</span><span class="nb">pwd</span><span class="sb">`</span>/wordcount-result.txt
</code></pre></div></li>
@@ -276,7 +276,7 @@ $ wget -O hamlet.txt http://www.gutenber
<p>You can easily deploy Flink on your existing <strong>YARN cluster</strong>. </p>
<ol>
-<li>Download the <strong>Flink YARN package</strong> with the YARN client: <a href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.1/stratosphere-bin-0.5.1-yarn.tar.gz">Flink for YARN</a></li>
+<li>Download the <strong>Flink YARN package</strong> with the YARN client: <a href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-yarn.tar.gz">Flink for YARN</a></li>
<li>Make sure your <strong>HADOOP_HOME</strong> (or <em>YARN_CONF_DIR</em> or <em>HADOOP_CONF_DIR</em>) <strong>environment variable</strong> is set to read your YARN and HDFS configuration.</li>
<li>Run the <strong>YARN client</strong> with: <code>./bin/yarn-session.sh</code>. You can run the client with options <code>-n 10 -tm 8192</code> to allocate 10 TaskManagers with 8GB of memory each.</li>
</ol>
Modified: incubator/flink/site/docs/0.6-SNAPSHOT/spargel_guide.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/docs/0.6-SNAPSHOT/spargel_guide.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/docs/0.6-SNAPSHOT/spargel_guide.html (original)
+++ incubator/flink/site/docs/0.6-SNAPSHOT/spargel_guide.html Wed Jul 16 15:02:17 2014
@@ -188,7 +188,7 @@
<div class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt"><dependency></span>
<span class="nt"><groupId></span>org.apache.flink<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>spargel<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.5.1<span class="nt"></version></span>
+ <span class="nt"><version></span>0.5.2<span class="nt"></version></span>
<span class="nt"></dependency></span>
</code></pre></div>
<p>Extend <strong>VertexUpdateFunction<</strong><em>VertexKeyType</em>, <em>VertexValueType</em>, <em>MessageType</em><strong>></strong> to implement your <em>custom vertex update logic</em>.</p>
Modified: incubator/flink/site/docs/0.6-SNAPSHOT/yarn_setup.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/docs/0.6-SNAPSHOT/yarn_setup.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/docs/0.6-SNAPSHOT/yarn_setup.html (original)
+++ incubator/flink/site/docs/0.6-SNAPSHOT/yarn_setup.html Wed Jul 16 15:02:17 2014
@@ -187,9 +187,9 @@
<h1 id="in-a-nutshell">In a Nutshell</h1>
<p>Start YARN session with 4 Taskmanagers (each with 4 GB of Heapspace):</p>
-<div class="highlight"><pre><code class="language-bash" data-lang="bash">wget https://github.com/stratosphere/stratosphere/releases/download/release-0.5.1/stratosphere-bin-0.5.1-yarn.tar.gz
-tar xvzf flink-dist-0.5.1-yarn.tar.gz
-<span class="nb">cd </span>flink-yarn-0.5.1/
+<div class="highlight"><pre><code class="language-bash" data-lang="bash">wget https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-yarn.tar.gz
+tar xvzf flink-dist-0.5.2-yarn.tar.gz
+<span class="nb">cd </span>flink-yarn-0.5.2/
./bin/yarn-session.sh -n <span class="m">4</span> -jm <span class="m">1024</span> -tm 4096
</code></pre></div>
<h1 id="introducing-yarn">Introducing YARN</h1>
@@ -218,8 +218,8 @@ tar xvzf flink-dist-0.5.1-yarn.tar.gz
<p>If you want to build the YARN .tgz file from sources, follow the build instructions. Make sure to use the <code>-Dhadoop.profile=2</code> profile. You can find the file in <code>flink-dist/target/flink-dist--yarn.tar.gz</code> (<em>Note: The version might be different for you</em> ).</p>
<p>Extract the package using:</p>
-<div class="highlight"><pre><code class="language-bash" data-lang="bash">tar xvzf flink-dist-0.5.1-yarn.tar.gz
-<span class="nb">cd </span>flink-yarn-0.5.1/
+<div class="highlight"><pre><code class="language-bash" data-lang="bash">tar xvzf flink-dist-0.5.2-yarn.tar.gz
+<span class="nb">cd </span>flink-yarn-0.5.2/
</code></pre></div>
<h3 id="start-a-session">Start a Session</h3>
@@ -281,7 +281,7 @@ Action <span class="s2">"run"<
<p><strong>Example</strong></p>
<div class="highlight"><pre><code class="language-bash" data-lang="bash">wget -O apache-license-v2.txt http://www.apache.org/licenses/LICENSE-2.0.txt
-./bin/flink run -j ./examples/flink-java-examples-0.5.1-WordCount.jar <span class="se">\</span>
+./bin/flink run -j ./examples/flink-java-examples-0.5.2-WordCount.jar <span class="se">\</span>
-a <span class="m">1</span> file://<span class="sb">`</span><span class="nb">pwd</span><span class="sb">`</span>/apache-license-v2.txt file://<span class="sb">`</span><span class="nb">pwd</span><span class="sb">`</span>/wordcount-result.txt
</code></pre></div>
<p>If there is the following error, make sure that all TaskManagers started:</p>
Modified: incubator/flink/site/downloads.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/downloads.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/downloads.html (original)
+++ incubator/flink/site/downloads.html Wed Jul 16 15:02:17 2014
@@ -108,21 +108,21 @@
<h2 id="stable">Stable</h2>
-<p>Apache Flink 0.5.1 is our latest stable release.</p>
+<p>Apache Flink 0.5.2 is our latest stable release.</p>
<div class="list-group">
- <a href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.1/stratosphere-bin-0.5.1.tgz" class="list-group-item">
+ <a href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-bin.tgz" class="list-group-item">
<h4 class="list-group-item-heading">
- <i class="fa fa-download"></i> <strong>Flink 0.5.1</strong> for Hadoop 1</h4>
+ <i class="fa fa-download"></i> <strong>Flink 0.5.2</strong> for Hadoop 1</h4>
<p>Pick this package if you plan to use Flink with data stored in Hadoop 1.x.</p>
<p>Also pick this version if you don't plan to use Flink with Hadoop at all.</p>
</a>
- <a href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.1/stratosphere-bin-0.5.1-hadoop2.tgz" class="list-group-item">
- <h4 class="list-group-item-heading"><i class="fa fa-download"></i> <strong>Flink 0.5.1</strong> for Hadoop 2</h4>
+ <a href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-hadoop2-bin.tgz" class="list-group-item">
+ <h4 class="list-group-item-heading"><i class="fa fa-download"></i> <strong>Flink 0.5.2</strong> for Hadoop 2</h4>
<p>Pick this package if you plan to use Flink with data stored in Hadoop 2.x.</p>
</a>
- <a href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.1/stratosphere-bin-0.5.1-yarn.tar.gz" class="list-group-item">
- <h4 class="list-group-item-heading"><i class="fa fa-download"></i> <strong>Flink 0.5.1</strong> for YARN</h4>
+ <a href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-yarn.tar.gz" class="list-group-item">
+ <h4 class="list-group-item-heading"><i class="fa fa-download"></i> <strong>Flink 0.5.2</strong> for YARN</h4>
<p>Pick this package if you plan to use Flink with Hadoop YARN.</p>
</a>
</div>
@@ -133,18 +133,18 @@
<div class="highlight"><pre><code class="language-xml" data-lang="xml"><span class="nt"><dependency></span>
<span class="nt"><groupId></span>eu.stratosphere<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>stratosphere-java<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.5.1<span class="nt"></version></span>
+ <span class="nt"><version></span>0.5.2<span class="nt"></version></span>
<span class="nt"></dependency></span>
<span class="nt"><dependency></span>
<span class="nt"><groupId></span>eu.stratosphere<span class="nt"></groupId></span>
<span class="nt"><artifactId></span>stratosphere-clients<span class="nt"></artifactId></span>
- <span class="nt"><version></span>0.5.1<span class="nt"></version></span>
+ <span class="nt"><version></span>0.5.2<span class="nt"></version></span>
<span class="nt"></dependency></span>
</code></pre></div>
<p>These dependencies include a local execution environment and thus support local testing.</p>
<ul>
-<li><strong>Hadoop 2</strong>: If you want to interact with Hadoop 2, use <code>0.5.1-hadoop2</code> as the version.</li>
+<li><strong>Hadoop 2</strong>: If you want to interact with Hadoop 2, use <code>0.5.2-hadoop2</code> as the version.</li>
<li><strong>Scala API</strong>: To use the Scala API, replace the <code>stratosphere-java</code> artifact id with <code>stratosphere-scala</code>.</li>
</ul>
Modified: incubator/flink/site/index.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/index.html?rev=1611039&r1=1611038&r2=1611039&view=diff
==============================================================================
--- incubator/flink/site/index.html (original)
+++ incubator/flink/site/index.html Wed Jul 16 15:02:17 2014
@@ -101,9 +101,9 @@
<div class="row">
<div class="col-md-6" style="vertical-align:middle;">
<div class="startpage-buttons">
- <a href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.1/stratosphere-bin-0.5.1.tgz">
+ <a href="https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-bin.tgz">
<button type="button" class="btn btn-primary btn-lg">
- <i class="fa fa-download"></i> Download 0.5.1<br/>
+ <i class="fa fa-download"></i> Download 0.5.2<br/>
(Pre Apache)
</button></a>