Author: buildbot
Date: Mon Apr 20 19:44:14 2015
New Revision: 948486

Log:
Staging update by buildbot for mahout

Modified:
    websites/staging/mahout/trunk/content/   (props changed)
    websites/staging/mahout/trunk/content/general/downloads.html

Propchange: websites/staging/mahout/trunk/content/
------------------------------------------------------------------------------
--- cms:source-revision (original)
+++ cms:source-revision Mon Apr 20 19:44:14 2015
@@ -1 +1 @@
-1674842
+1674968

Modified: websites/staging/mahout/trunk/content/general/downloads.html
==============================================================================
--- websites/staging/mahout/trunk/content/general/downloads.html (original)
+++ websites/staging/mahout/trunk/content/general/downloads.html Mon Apr 20 
19:44:14 2015
@@ -261,7 +261,7 @@
   <div id="content-wrap" class="clearfix">
    <div id="main">
     <p><a name="Downloads-OfficialRelease"></a></p>
-<h1 id="source-code-for-curren-snapshot">Source code for curren snapshot</h1>
+<h1 id="source-code-for-the-current-snapshot">Source code for the current 
snapshot</h1>
 <p>Apache Mahout is mirrored to <a 
href="https://github.com/apache/mahout";>Github</a>. To get all source:</p>
 <div class="codehilite"><pre><span class="n">git</span> <span 
class="n">clone</span> <span class="n">https</span><span 
class="p">:</span><span class="o">//</span><span class="n">github</span><span 
class="p">.</span><span class="n">com</span><span class="o">/</span><span 
class="n">apache</span><span class="o">/</span><span 
class="n">mahout</span><span class="p">.</span><span class="n">git</span> <span 
class="n">mahout</span>
 </pre></div>
@@ -275,13 +275,17 @@ the Apache mirrors. The latest Mahout re
 <li><a href="http://archive.apache.org/dist/mahout/";>Release Archive</a></li>
 </ul>
 <h1 id="environment">Environment</h1>
-<p>Edit your environment in <code>~/.bash_profile`` `for Mac 
or</code>~/.bashrc``` for many linux distributions. Add the following</p>
+<p>Whether you are using Mahout's Shell, running command line jobs or using it 
as a library to build your own apps 
+you'll need to setup several environment variables. 
+Edit your environment in <code>~/.bash_profile`` `for Mac 
or</code>~/.bashrc``` for many linux distributions. Add the following</p>
 <div class="codehilite"><pre><span class="n">export</span> <span 
class="n">MAHOUT_HOME</span><span class="p">=</span><span 
class="o">/</span><span class="n">path</span><span class="o">/</span><span 
class="n">to</span><span class="o">/</span><span class="n">mahout</span>
 <span class="n">export</span> <span class="n">MAHOUT_LOCAL</span><span 
class="p">=</span><span class="n">true</span> # <span class="k">for</span> 
<span class="n">running</span> <span class="n">standalone</span> <span 
class="n">on</span> <span class="n">your</span> <span class="n">dev</span> 
<span class="n">machine</span><span class="p">,</span> 
 # <span class="n">unset</span> <span class="n">MAHOUT_LOCAL</span> <span 
class="k">for</span> <span class="n">running</span> <span class="n">on</span> 
<span class="n">a</span> <span class="n">cluster</span>
 </pre></div>
 
 
+<p>If you are running on Spark you will also need $SPARK_HOME</p>
+<p>Make sure to have $JAVA_HOME set also</p>
 <h1 id="using-mahout-as-a-library">Using Mahout as a Library</h1>
 <p>Running any application that uses Mahout will require installing a binary 
or source version and setting the environment.<br />
 Then add the appropriate setting to your pom.xml or build.sbt following the 
template below.</p>


Reply via email to