incubator-hama-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hama Wiki] Update of "Architecture" by Edward J. Yoon
Date Tue, 25 May 2010 07:07:20 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hama Wiki" for change notification.

The "Architecture" page has been changed by Edward J. Yoon.
http://wiki.apache.org/hama/Architecture?action=diff&rev1=99&rev2=100

--------------------------------------------------

  
  == BSP framework ==
  
- The BSP package is a implementation of BSP (Bulk Synchronous Parallel) over Hadoop RPC(sockets).

+ === BSP Job Configuration ===
  
- The BSP package consists of the following components:
-  * [[BSPMaster|BSP Master]]
-  * [[GroomServer|Groom Server]]
+   * work in progress [[https://issues.apache.org/jira/browse/HAMA-244|HAMA-244]]
+ {{{
+     // BSP job configuration 
+     BSPJob bsp = new BSPJob(); 
+     // Set the job name 
+     bsp.setJobName("BSP test job"); 
+ 
+     // Set in/output path and formatter 
+     bsp.setInputPath(conf, new Path("input path")); 
+     bsp.setOutputPath(conf, new Path("output path")); 
+     bsp.setInputFormat(MyInputFormat.class); 
+     bsp.setOutputFormat(MyOutputFormat.class); 
+      
+     // Set the BSP code 
+     bsp.setBSPCode(BSPProgram.class); 
+     BSPJobClient.runJob(bsp);
+ }}}
  
  == Shell/DSL ==
  

Mime
View raw message