You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mahout.apache.org by bu...@apache.org on 2014/05/18 14:09:57 UTC

svn commit: r909165 - in /websites/staging/mahout/trunk/content: ./ users/sparkbindings/play-with-shell.html

Author: buildbot
Date: Sun May 18 12:09:56 2014
New Revision: 909165

Log:
Staging update by buildbot for mahout

Modified:
    websites/staging/mahout/trunk/content/   (props changed)
    websites/staging/mahout/trunk/content/users/sparkbindings/play-with-shell.html

Propchange: websites/staging/mahout/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Sun May 18 12:09:56 2014
@@ -1 +1 @@
-1595604
+1595605

Modified: websites/staging/mahout/trunk/content/users/sparkbindings/play-with-shell.html
==============================================================================
--- websites/staging/mahout/trunk/content/users/sparkbindings/play-with-shell.html (original)
+++ websites/staging/mahout/trunk/content/users/sparkbindings/play-with-shell.html Sun May 18 12:09:56 2014
@@ -339,11 +339,15 @@
 <ol>
 <li>Goto the directory where you unpacked Spark and type <code>sbin/start-all.sh</code> to locally start Spark</li>
 <li>Open a browser, point it to <a href="http://localhost:8080/">http://localhost:8080/</a> to check whether Spark successfully started. Copy the url of the spark master at the top of the page (it starts with <strong>spark://</strong>)</li>
-<li>Define the following environment variables: 
-<code>export MAHOUT_HOME=&lt;directory into which you checked out Mahout&gt;
-export SPARK_HOME=&lt;directory where you unpacked Spark&gt;
-export MASTER=&lt;url of the Spark master&gt;</code></li>
-<li>Finally, change to the directory where you unpacked Mahout and type <code>bin/mahout spark-shell</code>, you should see the shell starting and get the prompt <code>mahout&gt;</code></li>
+<li>
+<p>Define the following environment variables: </p>
+<p>export MAHOUT_HOME=<directory into which you checked out Mahout>
+export SPARK_HOME=<directory where you unpacked Spark>
+export MASTER=<url of the Spark master></p>
+</li>
+<li>
+<p>Finally, change to the directory where you unpacked Mahout and type <code>bin/mahout spark-shell</code>, you should see the shell starting and get the prompt <code>mahout&gt;</code></p>
+</li>
 </ol>
 <h2 id="implementation">Implementation</h2>
 <p>We'll use the shell to interactively play with the data and incrementally implement a simple <a href="https://en.wikipedia.org/wiki/Linear_regression">linear regression</a> algorithm. Let's first load the dataset. Usually, we wouldn't need Mahout unless we processed a large dataset stored in a distributed filesystem. But for the sake of this example, we'll use our tiny toy dataset and "pretend" it was too big to fit onto a single machine.</p>