hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1574473 - in /hama/site/trunk: run_examples.html team-list.html
Date Wed, 05 Mar 2014 13:29:44 GMT
Author: edwardyoon
Date: Wed Mar  5 13:29:44 2014
New Revision: 1574473

URL: http://svn.apache.org/r1574473
Log:
update website

Modified:
    hama/site/trunk/run_examples.html
    hama/site/trunk/team-list.html

Modified: hama/site/trunk/run_examples.html
URL: http://svn.apache.org/viewvc/hama/site/trunk/run_examples.html?rev=1574473&r1=1574472&r2=1574473&view=diff
==============================================================================
--- hama/site/trunk/run_examples.html (original)
+++ hama/site/trunk/run_examples.html Wed Mar  5 13:29:44 2014
@@ -229,16 +229,29 @@
     <p>Hama Examples package allows you to quickly run examples on your Hama Cluster.<br
/>
     This document describes how to quickly run examples, assume that you have already installed
Hama cluster and you have tested it.</p>
 
-    <div class="section"><h3>Run PageRank on your Hama Cluster<a name="Run_PageRank_on_your_Hama_Cluster"></a></h3></div>
+    <div class="section"><h3>Run PageRank example<a name="Run_PageRank_example"></a></h3></div>
     <p>1. First, you need to generate a symmetric adjacency matrix using the 'gen'
command:</p>
     
     <div><pre>
-    % $HAMA_HOME/bin/hama jar hama-examples-x.x.x.jar gen symmetric 100 10 randomgraph 2</pre></div>
+    % $HAMA_HOME/bin/hama jar hama-examples-x.x.x.jar gen fastgen 100 10 randomgraph 2</pre></div>
 
     <p>This will create a graph with 100 nodes and 1K edges and store 2 partitions
on HDFS as the sequence file. 
     You can adjust partition and tasks numbers to fit your cluster. Then, run PageRank using:</p>
   <div><pre>
   % $HAMA_HOME/bin/hama jar hama-examples-x.x.x.jar pagerank randomgraph pagerankresult 4</pre></div>
+  
+  <div class="section"><h3>Run K-Means example<a name="Run_K-Means_example"></a></h3></div>
+  Download a <a class="externalLink" href="http://people.apache.org/~edwardyoon/kmeans.txt">Iris
dataset</a> [<a class="externalLink" href="http://archive.ics.uci.edu/ml/datasets/Iris">Dataset
Information</a>].
+  And then, run K-Means using:
+  <div><pre>
+  % $HAMA_HOME/bin/hama jar hama-examples-x.x.x.jar kmeans /tmp/kmeans.txt /tmp/result 10
3
+  ...
+  [5.1, 3.5, 1.4, 0.2] belongs to cluster 2
+  [4.9, 3.0, 1.4, 0.2] belongs to cluster 2
+  [4.7, 3.2, 1.3, 0.2] belongs to cluster 2
+  [4.6, 3.1, 1.5, 0.2] belongs to cluster 2
+  ...</pre></div>
+  
     
 
                   </div>

Modified: hama/site/trunk/team-list.html
URL: http://svn.apache.org/viewvc/hama/site/trunk/team-list.html?rev=1574473&r1=1574472&r2=1574473&view=diff
==============================================================================
--- hama/site/trunk/team-list.html (original)
+++ hama/site/trunk/team-list.html Wed Mar  5 13:29:44 2014
@@ -257,54 +257,60 @@
         </th>
        </tr>
        <tr class="b" valign="top">
+          <td align="center">andronat</td>
+          <td align="center">Anastasis Andronidis</td>
+          <td align="center">CERN</td>
+          <td align="center">committer</td>
+       </tr>
+       <tr class="a" valign="top">
           <td align="center">apurv</td>
           <td align="center">Apurv Verma</td>
           <td align="center">.</td>
           <td align="center">committer</td>
         </tr>
-       <tr class="a" valign="top">
+       <tr class="b" valign="top">
           <td align="center">chl501</td>
           <td align="center">Chia-Hung Lin</td>
           <td align="center">.</td>
           <td align="center">PMC member, committer</td>
         </tr>
-       <tr class="b" valign="top">
+       <tr class="a" valign="top">
           <td align="center">edwardyoon</td>
           <td align="center"><a class="externalLink" href="http://blog.udanax.org/">Edward
J. Yoon</a></td>
           <td align="center">DataSayer</td>
           <td align="center">PMC member, committer</td>
         </tr>
-       <tr class="a" valign="top">
+       <tr class="b" valign="top">
           <td align="center">kennethxian</td>
           <td align="center">MaoYuan Xian</td>
           <td align="center">Sogou</td>
           <td align="center">committer</td>
         </tr>
-       <tr class="b" valign="top">
+       <tr class="a" valign="top">
           <td align="center">millecker</td>
           <td align="center">Martin Illecker</td>
           <td align="center">University of Innsbruck</td>
           <td align="center">PMC member, committer</td>
         </tr>
-       <tr class="a" valign="top">
+       <tr class="b" valign="top">
           <td align="center">stevel</td>
           <td align="center">Steve Loughran</td>
           <td align="center">Hortonworks</td>
           <td align="center">PMC member, committer</td>
         </tr>
-       <tr class="b" valign="top">
+       <tr class="a" valign="top">
           <td align="center">surajsmenon</td>
           <td align="center">Suraj Menon</td>
           <td align="center">Verisign</td>
           <td align="center">PMC member, committer</td>
         </tr>
-       <tr class="a" valign="top">
+       <tr class="b" valign="top">
           <td align="center">tommaso</td>
           <td align="center">Tommaso Teofili</td>
           <td align="center">Adobe</td>
           <td align="center">PMC member, committer</td>
         </tr>
-       <tr class="b" valign="top">
+       <tr class="a" valign="top">
           <td align="center">yxjiang</td>
           <td align="center">Yexi Jiang</td>
           <td align="center">Florida International University</td>



Mime
View raw message