hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From edwardy...@apache.org
Subject svn commit: r1360512 - in /hama/trunk: ./ src/site/ src/site/resources/css/ src/site/xdoc/
Date Thu, 12 Jul 2012 02:20:47 GMT
Author: edwardyoon
Date: Thu Jul 12 02:20:47 2012
New Revision: 1360512

URL: http://svn.apache.org/viewvc?rev=1360512&view=rev
Log:
Renewal website skin

Modified:
    hama/trunk/CHANGES.txt
    hama/trunk/src/site/resources/css/site.css
    hama/trunk/src/site/site.xml
    hama/trunk/src/site/xdoc/downloads.xml
    hama/trunk/src/site/xdoc/getting_started_with_hama.xml
    hama/trunk/src/site/xdoc/hama_bsp_tutorial.xml
    hama/trunk/src/site/xdoc/hama_graph_tutorial.xml
    hama/trunk/src/site/xdoc/hama_on_clouds.xml
    hama/trunk/src/site/xdoc/index.xml

Modified: hama/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/hama/trunk/CHANGES.txt?rev=1360512&r1=1360511&r2=1360512&view=diff
==============================================================================
--- hama/trunk/CHANGES.txt (original)
+++ hama/trunk/CHANGES.txt Thu Jul 12 02:20:47 2012
@@ -1,5 +1,13 @@
 Hama Change Log
 
+Release 0.6 (unreleased changes)
+
+  NEW FEATURES
+
+  BUG FIXES
+
+  IMPROVEMENTS
+
 Release 0.5 - April 10, 2012 
 
   NEW FEATURES

Modified: hama/trunk/src/site/resources/css/site.css
URL: http://svn.apache.org/viewvc/hama/trunk/src/site/resources/css/site.css?rev=1360512&r1=1360511&r2=1360512&view=diff
==============================================================================
--- hama/trunk/src/site/resources/css/site.css (original)
+++ hama/trunk/src/site/resources/css/site.css Thu Jul 12 02:20:47 2012
@@ -36,7 +36,7 @@ h2, h3, h4, h5 {
 
 h5 {
   font-size: 15px;
-  margin-top: -0.8em;
+  margin-top: -0.1em;
 }
 
 table {
@@ -56,11 +56,17 @@ ul {
  background: #edf7f4;
  background-color: #edf7f4;
 }
+
+pre {
+ width: 95%;
+ margin: 20px 20px 20px 20px;
+}
+
 .green a:link, .green a:active, .green a:visited { color: #0a4d39; }
 .green a:hover { color: #888800; }
 .green h3 {
   margin-bottom:-5px;
-  margin-top:-2px;
+  margin-top:5px;
   padding: 0px 0px 0px 0px;
   border: 0px;
   color: #74240f;
@@ -90,3 +96,15 @@ ul {
   padding-left: 1em;
   list-style-position: inside;
 }
+
+#leftColumn li.none{
+  text-indent:-1em;
+  margin-left:-1em;
+}
+
+#leftColumn h3 {
+  font-size: 16px;
+  margin-left:-0.7em;
+}
+
+body.topBarDisabled{padding-top:0px;}
\ No newline at end of file

Modified: hama/trunk/src/site/site.xml
URL: http://svn.apache.org/viewvc/hama/trunk/src/site/site.xml?rev=1360512&r1=1360511&r2=1360512&view=diff
==============================================================================
--- hama/trunk/src/site/site.xml (original)
+++ hama/trunk/src/site/site.xml Thu Jul 12 02:20:47 2012
@@ -27,16 +27,16 @@
 
   <skin>
     <groupId>org.apache.maven.skins</groupId>
-    <artifactId>maven-default-skin</artifactId>
-    <version>1.0</version>
+    <artifactId>maven-fluido-skin</artifactId>
+    <version>1.2.3-SNAPSHOT</version>
   </skin>
 
   <body>
     <links position="left">
-      <item name="Wiki" href="https://wiki.apache.org/hama" />
+      <item name="Wiki" href="http://wiki.apache.org/hama" />
       <item name="Blog" href="http://blogs.apache.org/hama/" />
-      <item name="JIRA" href="https://issues.apache.org/jira/browse/HAMA" />
-      <item name="SVN" href="https://svn.apache.org/repos/asf/hama/" />
+      <item name="JIRA" href="http://issues.apache.org/jira/browse/HAMA" />
+      <item name="SVN" href="http://svn.apache.org/repos/asf/hama/" />
       <item name="Twitter" href="http://twitter.com/apachehama" />
     </links>
 
@@ -62,8 +62,8 @@
     <menu name="Documentation">
       <item name="Getting Started" href="getting_started_with_hama.html" />
       <item name="Hama on Clouds" href="hama_on_clouds.html" />
-      <item name="Hama BSP tutorial" href="hama_bsp_tutorial.html" />
-      <item name="Hama Graph tutorial" href="hama_graph_tutorial.html" />
+      <item name="BSP tutorial" href="hama_bsp_tutorial.html" />
+      <item name="Graph tutorial" href="hama_graph_tutorial.html" />
       <item name="Benchmarks" href="http://wiki.apache.org/hama/Benchmarks" />
       <item name="Presentations" href="http://wiki.apache.org/hama/Presentations" />
       <item name="Research Papers" href="http://wiki.apache.org/hama/Articles" />
@@ -72,8 +72,8 @@
 
     <menu name="Related Projects">
       <item name="Hadoop" href="http://hadoop.apache.org/" />
-      <item name="Whirr" href="https://whirr.apache.org/" />
-      <item name="Bigtop" href="https://incubator.apache.org/bigtop/" />
+      <item name="Whirr" href="http://whirr.apache.org/" />
+      <item name="Bigtop" href="http://incubator.apache.org/bigtop/" />
       <item name="Mahout" href="http://mahout.apache.org/" />
     </menu>
     

Modified: hama/trunk/src/site/xdoc/downloads.xml
URL: http://svn.apache.org/viewvc/hama/trunk/src/site/xdoc/downloads.xml?rev=1360512&r1=1360511&r2=1360512&view=diff
==============================================================================
--- hama/trunk/src/site/xdoc/downloads.xml (original)
+++ hama/trunk/src/site/xdoc/downloads.xml Thu Jul 12 02:20:47 2012
@@ -42,10 +42,10 @@ xsi:schemaLocation="http://maven.apache.
     which is located within each download directory.
     <br/><br/>
     Always use the signature files to verify the authenticity of the distribution, e.g.,
-    <pre class="green">  % pgpk -a KEYS
+    <pre>  % pgpk -a KEYS
   % pgpv hama-x.x.x.tar.gz.asc</pre>
     or,
-    <pre class="green">  % gpg --import KEYS
+    <pre>  % gpg --import KEYS
   % gpg --verify hama-x.x.x.tar.gz.asc</pre>
     We offer MD5 hashes as an alternative to validate the integrity of the downloaded files.
     A unix program called md5 or md5sum is included in many unix distributions.

Modified: hama/trunk/src/site/xdoc/getting_started_with_hama.xml
URL: http://svn.apache.org/viewvc/hama/trunk/src/site/xdoc/getting_started_with_hama.xml?rev=1360512&r1=1360511&r2=1360512&view=diff
==============================================================================
--- hama/trunk/src/site/xdoc/getting_started_with_hama.xml (original)
+++ hama/trunk/src/site/xdoc/getting_started_with_hama.xml Thu Jul 12 02:20:47 2012
@@ -62,7 +62,7 @@ xsi:schemaLocation="http://maven.apache.
     <ul><li>BSPMaster and Zookeeper settings - Figure out where to run your HDFS
namenode and BSPMaster. Set the variable bsp.master.address to the BSPMaster's intended host:port.
Set the variable fs.default.name to the HDFS Namenode's intended host:port.</li></ul>
     <p>Here's an example of a hama-site.xml file:</p>
 
-<pre class="green">
+<pre>
   &lt;?xml version="1.0"?&gt;
   &lt;?xml-stylesheet type="text/xsl" href="configuration.xsl"?&gt;
   &lt;configuration&gt;
@@ -99,7 +99,7 @@ xsi:schemaLocation="http://maven.apache.
 
 <p>If you are managing your own ZooKeeper, you have to specify the port number as below:</p>
 
-<pre class="green">
+<pre>
   &lt;property&gt;
     &lt;name&gt;hama.zookeeper.property.clientPort&lt;/name&gt;
     &lt;value&gt;2181&lt;/value&gt;
@@ -111,16 +111,16 @@ xsi:schemaLocation="http://maven.apache.
     <p>NOTE: Skip this step if you're in Local Mode.
     <br/>Run the command:</p>
     
-  <pre class="green">
+  <pre>
   % $HAMA_HOME/bin/start-bspd.sh</pre>
     <p>This will startup a BSPMaster, GroomServers and Zookeeper on your machine.</p>
     <p>Run the command:</p>
-  <pre class="green">
+  <pre>
   % $HAMA_HOME/bin/stop-bspd.sh</pre>
 
     <p>to stop all the daemons running on your cluster.</p>
     <subsection name="Execute Hama Examples"></subsection>
-  <pre class="green">
+  <pre>
   % $HAMA_HOME/bin/hama jar hama-examples-x.x.x.jar [args]</pre>
     </body>
 </document>

Modified: hama/trunk/src/site/xdoc/hama_bsp_tutorial.xml
URL: http://svn.apache.org/viewvc/hama/trunk/src/site/xdoc/hama_bsp_tutorial.xml?rev=1360512&r1=1360511&r2=1360512&view=diff
==============================================================================
--- hama/trunk/src/site/xdoc/hama_bsp_tutorial.xml (original)
+++ hama/trunk/src/site/xdoc/hama_bsp_tutorial.xml Thu Jul 12 02:20:47 2012
@@ -40,7 +40,7 @@ xsi:schemaLocation="http://maven.apache.
     <br/>
     The extending class must override the bsp() method, which is declared like this:
     </p>
-    <pre class="green">
+    <pre>
   public abstract void bsp(BSPPeer&lt;K1, V1, K2, V2, M extends Writable&gt; peer)
throws IOException, 
     SyncException, InterruptedException;</pre>
     
@@ -56,7 +56,7 @@ xsi:schemaLocation="http://maven.apache.
     <br/><br/>
     After your own BSP is created, you will need to configure a <b>BSPJob</b>
and submit it to Hama cluster to execute a job.
     The BSP job configuration and submission interfaces is almost the same as the MapReduce
job configuration:</p>
-    <pre class="green">
+    <pre>
   HamaConfiguration conf = new HamaConfiguration();
   BSPJob job = new BSPJob(conf, MyBSP.class);
   job.setJobName("My BSP program");
@@ -68,9 +68,9 @@ xsi:schemaLocation="http://maven.apache.
     <p>See the below section for more detailed description of BSP user interfaces.</p>
     
     <subsection name="User Interfaces"></subsection>
-    <h5>Inputs and Outputs</h5>
+    <h4>Inputs and Outputs</h4>
     <p>When setting up a BSPJob, you can provide a Input/OutputFormat and Paths like
this:</p>
-    <pre class="green">
+    <pre>
   job.setInputPath(new Path("/tmp/sequence.dat");
   job.setInputFormat(org.apache.hama.bsp.SequenceFileInputFormat.class);
   or,
@@ -87,7 +87,7 @@ xsi:schemaLocation="http://maven.apache.
     <p>Then, you can read the input and write the output from the methods in BSP class
which has "BSPPeer" which contains an communication, counters, and IO interfaces as parameter.
     In this case we read a normal text file:</p>
 
-    <pre class="green">
+    <pre>
  @Override
   public final void bsp(
       BSPPeer&lt;LongWritable, Text, Text, LongWritable, Text&gt; peer)
@@ -108,7 +108,7 @@ xsi:schemaLocation="http://maven.apache.
     There is also a function which allows you to re-read the input from the beginning.
     This snippet reads the input five times:
     </p>
-    <pre class="green">
+    <pre>
   for(int i = 0; i &lt; 5; i++){
     LongWritable key = new LongWritable();
     Text value = new Text();
@@ -119,7 +119,7 @@ xsi:schemaLocation="http://maven.apache.
     peer.reopenInput()
   }</pre>
   
-    <h5>Communication</h5>
+    <h4>Communication</h4>
     <p>Hama BSP provides simple but powerful communication APIs for many purposes.

     We tried to follow the standard library of BSP world as much as possible. 
     The following table describes all the methods you can use:</p>
@@ -137,7 +137,7 @@ xsi:schemaLocation="http://maven.apache.
 
     <p>The send() and all the other functions are very flexible. Here is an example
that sends a message to all peers:</p>
     
-    <pre class="green">
+    <pre>
   @Override
   public void bsp(
       BSPPeer&lt;NullWritable, NullWritable, Text, DoubleWritable, Text&gt; peer)
@@ -150,7 +150,7 @@ xsi:schemaLocation="http://maven.apache.
     peer.sync();
   }</pre>
     
-    <h5>Synchronization</h5>
+    <h4>Synchronization</h4>
 
     <p>When all the processes have entered the barrier via the sync() method, 
     the Hama proceeds to the next superstep. 
@@ -162,7 +162,7 @@ xsi:schemaLocation="http://maven.apache.
     For example, the sync() method also can be called in a for loop 
     so that you can use to program the iterative methods sequentially:</p>
     
-    <pre class="green">
+    <pre>
   @Override
   public void bsp(
       BSPPeer&lt;NullWritable, NullWritable, Text, DoubleWritable, Text&gt; peer)
@@ -191,7 +191,7 @@ xsi:schemaLocation="http://maven.apache.
 
     <subsection name="Example: Pi Calculation"></subsection>
     <p>Here is an BSP-based Pi Calculation example and submit it to Hama cluster:</p>
-    <pre class="green">
+    <pre>
   private static Path TMP_OUTPUT = new Path("/tmp/pi-" + System.currentTimeMillis());
 
   public static class MyEstimator extends

Modified: hama/trunk/src/site/xdoc/hama_graph_tutorial.xml
URL: http://svn.apache.org/viewvc/hama/trunk/src/site/xdoc/hama_graph_tutorial.xml?rev=1360512&r1=1360511&r2=1360512&view=diff
==============================================================================
--- hama/trunk/src/site/xdoc/hama_graph_tutorial.xml (original)
+++ hama/trunk/src/site/xdoc/hama_graph_tutorial.xml Thu Jul 12 02:20:47 2012
@@ -30,7 +30,7 @@ xsi:schemaLocation="http://maven.apache.
     <subsection name="Vertex API"></subsection>    
 
     <p>Writing a Hama graph application involves subclassing the predefined Vertex
class. Its template arguments define three value types, associated with vertices, edges, and
messages.</p>
-    <pre class="green">
+    <pre>
   public abstract class Vertex&lt;V extends Writable, E extends Writable, M extends Writable&gt;
       implements VertexInterface&lt;V, E, M&gt; {
 
@@ -48,7 +48,7 @@ In this example, the algorithm described
 From Superstep 1 to 30, each vertex sums up the values arriving on all its messages and sets
its tentative page rank to (1 - 0.85) / numOfVertices + (0.85 * sum).
    </p>
 
-    <pre class="green">
+    <pre>
   public static class PageRankVertex extends
       Vertex&lt;Text, NullWritable, DoubleWritable&gt; {
 

Modified: hama/trunk/src/site/xdoc/hama_on_clouds.xml
URL: http://svn.apache.org/viewvc/hama/trunk/src/site/xdoc/hama_on_clouds.xml?rev=1360512&r1=1360511&r2=1360512&view=diff
==============================================================================
--- hama/trunk/src/site/xdoc/hama_on_clouds.xml (original)
+++ hama/trunk/src/site/xdoc/hama_on_clouds.xml Thu Jul 12 02:20:47 2012
@@ -27,7 +27,7 @@ xsi:schemaLocation="http://maven.apache.
     
     <subsection name="Deploy a Hama cluster on EC2"></subsection>
     <p>The following commands install Whirr and start a 5 node Hama cluster on Amazon
EC2 in 5 minutes or less.
-    <pre class="green">
+    <pre>
   % curl -O http://www.apache.org/dist/whirr/whirr-0.x.0/whirr-0.x.0.tar.gz
   % tar zxf whirr-0.x.0.tar.gz; cd whirr-0.x.0
 
@@ -38,7 +38,7 @@ xsi:schemaLocation="http://maven.apache.
   % bin/whirr launch-cluster --config recipes/hama-ec2.properties --private-key-file ~/.ssh/id_rsa_whirr</pre>
     </p>
     <subsection name="Execute Hama Examples"></subsection>
-    <pre class="green">
+    <pre>
   % cd /usr/local/hama-0.x.0
   % bin/hama jar hama-examples-x.x.x.jar [args]</pre>
     </body>

Modified: hama/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/hama/trunk/src/site/xdoc/index.xml?rev=1360512&r1=1360511&r2=1360512&view=diff
==============================================================================
--- hama/trunk/src/site/xdoc/index.xml (original)
+++ hama/trunk/src/site/xdoc/index.xml Thu Jul 12 02:20:47 2012
@@ -26,8 +26,7 @@ xsi:schemaLocation="http://maven.apache.
       <p>
       <strong>Apache Hama</strong> is a pure BSP (Bulk Synchronous Parallel)
computing framework on top of HDFS (Hadoop Distributed File System) for massive scientific
computations 
       such as matrix, graph and network algorithms.</p>
-      <table class="green" width="100%" cellspacing="0" cellpadding="5" border="1">

-      <tr><td> 
+      <div class="green">
           <h3 align="center">Recent News</h3>
           <ul>
             <li>June 31, 2012: release 0.5.0 available [<a href="downloads.html">downloads</a>]</li>
@@ -37,7 +36,7 @@ xsi:schemaLocation="http://maven.apache.
             <li>June 2, 2011: release 0.2.0 available</li>
             <li>Apr 30, 2010: Introduced in the <a href="http://www.bsp-worldwide.org/bspww3000.html">BSP
Worldwide</a></li>
           </ul>
-      </td></tr></table>
+      </div>
     <subsection name="Why Hama and BSP?"></subsection>
     <p>Today, many practical data processing applications require a more flexible programming
abstraction model that is compatible to run on highly scalable and massive data systems (e.g.,
HDFS, HBase, etc). A message passing paradigm beyond Map-Reduce framework would increase its
flexibility in its communication capability. Bulk Synchronous Parallel (BSP) model fills the
bill appropriately. Some of its significant advantages over MapReduce and MPI are:</p>
     <ul>



Mime
View raw message