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/22 13:49:40 UTC

svn commit: r1612550 - in /incubator/flink: community.md site/community.html site/docs/0.6-SNAPSHOT/run_example_quickstart.html

Author: rmetzger
Date: Tue Jul 22 11:49:39 2014
New Revision: 1612550

URL: http://svn.apache.org/r1612550
Log:
Add user@ mailing list to website

Modified:
    incubator/flink/community.md
    incubator/flink/site/community.html
    incubator/flink/site/docs/0.6-SNAPSHOT/run_example_quickstart.html

Modified: incubator/flink/community.md
URL: http://svn.apache.org/viewvc/incubator/flink/community.md?rev=1612550&r1=1612549&r2=1612550&view=diff
==============================================================================
--- incubator/flink/community.md (original)
+++ incubator/flink/community.md Tue Jul 22 11:49:39 2014
@@ -16,8 +16,22 @@ layout: with_toc
 	</thead>
 	<tr>
 		<td>
+			<strong>user</strong>@flink.incubator.apache.org<br>
+			<small>User support and questions mailing list</small>
+		</td>
+		<td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:user-subscribe@flink.incubator.apache.org">Subscribe</a></td>
+		<td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:user-digest-subscribe@flink.incubator.apache.org">Subscribe</a></td>
+		<td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:user-unsubscribe@flink.incubator.apache.org">Unsubscribe</a></td>
+		<td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:user@flink.incubator.apache.org">Post</a></td>
+		<td class="text-center">
+			<a href="http://mail-archives.apache.org/mod_mbox/incubator-flink-user/">Archives</a> <br>
+			<a href="http://apache-flink-incubator-user-mailing-list-archive.2336050.n4.nabble.com/">Nabble Archive</a>
+		</td>
+	</tr>
+	<tr>
+		<td>
 			<strong>dev</strong>@flink.incubator.apache.org<br>
-			<small>Development related discussion and user support</small>
+			<small>Development related discussions</small>
 		</td>
 		<td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:dev-subscribe@flink.incubator.apache.org">Subscribe</a></td>
 		<td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:dev-digest-subscribe@flink.incubator.apache.org">Subscribe</a></td>

Modified: incubator/flink/site/community.html
URL: http://svn.apache.org/viewvc/incubator/flink/site/community.html?rev=1612550&r1=1612549&r2=1612550&view=diff
==============================================================================
--- incubator/flink/site/community.html (original)
+++ incubator/flink/site/community.html Tue Jul 22 11:49:39 2014
@@ -123,8 +123,22 @@
     </thead>
     <tr>
         <td>
+            <strong>user</strong>@flink.incubator.apache.org<br>
+            <small>User support and questions mailing list</small>
+        </td>
+        <td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:user-subscribe@flink.incubator.apache.org">Subscribe</a></td>
+        <td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:user-digest-subscribe@flink.incubator.apache.org">Subscribe</a></td>
+        <td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:user-unsubscribe@flink.incubator.apache.org">Unsubscribe</a></td>
+        <td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:user@flink.incubator.apache.org">Post</a></td>
+        <td class="text-center">
+            <a href="http://mail-archives.apache.org/mod_mbox/incubator-flink-user/">Archives</a> <br>
+            <a href="http://apache-flink-incubator-user-mailing-list-archive.2336050.n4.nabble.com/">Nabble Archive</a>
+        </td>
+    </tr>
+    <tr>
+        <td>
             <strong>dev</strong>@flink.incubator.apache.org<br>
-            <small>Development related discussion and user support</small>
+            <small>Development related discussions</small>
         </td>
         <td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:dev-subscribe@flink.incubator.apache.org">Subscribe</a></td>
         <td class="text-center"><i class="fa fa-pencil-square-o"></i> <a href="mailto:dev-digest-subscribe@flink.incubator.apache.org">Subscribe</a></td>

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=1612550&r1=1612549&r2=1612550&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 Tue Jul 22 11:49:39 2014
@@ -171,20 +171,44 @@
 </ul>
 
 
-      <p>This guide will Peter demonstrate Flink&#39;s features by example. You will see how you can leverage Flink&#39;s Iteration-feature to find clusters in a dataset using <a href="http://en.wikipedia.org/wiki/K-means_clustering">K-Means clustering</a>. 
+      <div class="panel panel-warning">
+  <div class="panel-heading">
+    Note
+  </div>
+  <div class="panel-body">
+    This page is using both names "Flink" and "Stratosphere" to refer to the system. We recently changed the name to Apache Flink, but there is no stable release available for it yet, therefore the example here refers to the latest stable Stratosphere release (0.5.2).
+  </div>
+</div>
+
+<p>This guide will demonstrate Flink&#39;s features by example. You will see how you can leverage Flink&#39;s Iteration-feature to find clusters in a dataset using <a href="http://en.wikipedia.org/wiki/K-means_clustering">K-Means clustering</a>. 
 On the way, you will see the compiler, the status interface and the result of the algorithm.</p>
 
 <h1 id="generate-input-data">Generate Input Data</h1>
 
 <p>Flink contains a data generator for K-Means.</p>
-<div class="highlight"><pre><code class="language-text" data-lang="text"># Download Flink
-wget 
-tar xzf flink-*.tgz 
-cd flink-*
+
+<!--
+    REACTIVATE WHEN WE HAVE A FIRST APACHE FLINK RELEASE
+
+    # Download Flink
+    wget https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-bin.tgz
+    tar xzf flink-*.tgz 
+    cd flink-*
+    mkdir kmeans
+    cd kmeans
+    # Run data generator
+    java -cp  ../examples/flink-java-examples-0.5.2-KMeans.jar org.apache.flink.example.java.clustering.util.KMeansDataGenerator 500 10 0.08
+    cp /tmp/points .
+    cp /tmp/centers .
+-->
+<div class="highlight"><pre><code class="language-text" data-lang="text"># Download Flink (still called Stratosphere in the 0.5.2 release)
+wget https://github.com/stratosphere/stratosphere/releases/download/release-0.5.2/stratosphere-0.5.2-bin.tgz
+tar xzf stratosphere-*.tgz 
+cd stratosphere
 mkdir kmeans
 cd kmeans
 # Run data generator
-java -cp  ../examples/flink-java-examples-0.5.2-KMeans.jar org.apache.flinkexample.java.clustering.util.KMeansDataGenerator 500 10 0.08
+java -cp  ../examples/stratosphere-java-examples-0.5.2-KMeans.jar eu.stratosphere.example.java.clustering.util.KMeansDataGenerator 500 10 0.08
 cp /tmp/points .
 cp /tmp/centers .
 </code></pre></div>
@@ -198,10 +222,12 @@ cp /tmp/centers .
 <h1 id="review-input-data">Review Input Data</h1>
 
 <p>Use the <code>plotPoints.py</code> tool to review the result of the data generator. <a href="quickstart/plotPoints.py">Download Python Script</a></p>
-<div class="highlight"><pre><code class="language-bash" data-lang="bash">python2.7 plotPoints.py points points input
+<div class="highlight"><pre><code class="language-bash" data-lang="bash">python plotPoints.py points points input
 </code></pre></div>
 <p>Note: You might have to install <a href="http://matplotlib.org/">matplotlib</a> (<code>python-matplotlib</code> package on Ubuntu) to use the Python script.</p>
 
+<p>You can review the input data stored in the <code>input-plot.pdf</code>, for example with Evince (<code>evince input-plot.pdf</code>).</p>
+
 <p>The following overview presents the impact of the different standard deviations on the input data.</p>
 
 <table><thead>
@@ -222,10 +248,10 @@ cp /tmp/centers .
 
 <p>We are using the generated input data to run the clustering using a Flink job.</p>
 <div class="highlight"><pre><code class="language-text" data-lang="text"># go to the Flink-root directory
-cd flink
-# start Flink (use ./bin/start-cluster.sh if you&#39;re on a cluster)
+cd stratosphere
+# start Stratosphere/Flink (use ./bin/start-cluster.sh if you&#39;re on a cluster)
 ./bin/start-local.sh
-# Start Flink web client
+# Start Stratosphere/Flink web client
 ./bin/start-webclient.sh
 </code></pre></div>
 <h1 id="review-flink-compiler">Review Flink Compiler</h1>
@@ -240,7 +266,7 @@ cd flink
         1. <a href="http://localhost:8080/launch.html">Open webclient on localhost:8080</a> <br>
         2. Upload the file. 
             
-<div class="highlight"><pre><code class="language-bash" data-lang="bash">examples/flink-java-examples-0.5-SNAPSHOT-KMeansIterative.jar</code></pre></div>
+<div class="highlight"><pre><code class="language-bash" data-lang="bash">examples/stratosphere-java-examples-0.5-SNAPSHOT-KMeans.jar</code></pre></div>
  </br>
         3. Select it in the left box to see how the operators in the plan are connected to each other. <br>
         4. Enter the arguments in the lower left box: