mahout-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject svn commit: r909169 - in /websites/staging/mahout/trunk/content: ./ users/sparkbindings/play-with-shell.html
Date Sun, 18 May 2014 12:15:26 GMT
Author: buildbot
Date: Sun May 18 12:15:26 2014
New Revision: 909169

Staging update by buildbot for mahout

    websites/staging/mahout/trunk/content/   (props changed)

Propchange: websites/staging/mahout/trunk/content/
--- cms:source-revision (original)
+++ cms:source-revision Sun May 18 12:15:26 2014
@@ -1 +1 @@

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:15:26 2014
@@ -339,18 +339,16 @@
 <li>Goto the directory where you unpacked Spark and type <code>sbin/</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>
-<p>Define the following environment variables: </p>
-<div class="codehilite"><pre><span class="n">export</span> <span
class="n">MAHOUT_HOME</span><span class="p">=[</span><span class="n">directory</span>
<span class="n">into</span> <span class="n">which</span> <span
class="n">you</span> <span class="n">checked</span> <span class="n">out</span>
<span class="n">Mahout</span><span class="p">]</span>
-<span class="n">export</span> <span class="n">SPARK_HOME</span><span
class="p">=[</span><span class="n">directory</span> <span class="n">where</span>
<span class="n">you</span> <span class="n">unpacked</span> <span
class="n">Spark</span><span class="p">]</span>
-<span class="n">export</span> <span class="n">MASTER</span><span
class="p">=[</span><span class="n">url</span> <span class="n">of</span>
<span class="n">the</span> <span class="n">Spark</span> <span class="n">master</span><span
+<li>Define the following environment variables: </li>
+<div class="codehilite"><pre>
+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>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>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>
 <h2 id="implementation">Implementation</h2>
 <p>We'll use the shell to interactively play with the data and incrementally implement
a simple <a href="">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>

View raw message