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 "GettingStartedYARN" by MinhoKim
Date Mon, 22 Jun 2015 10:21:44 GMT
Dear Wiki user,

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

The "GettingStartedYARN" page has been changed by MinhoKim:
https://wiki.apache.org/hama/GettingStartedYARN?action=diff&rev1=10&rev2=11

  
  == Configuration ==
  
- Only two resource manager address and default filesystem uri properties is essentially needed
for Hama on YARN. See also [[GettingStarted/Properties|configuration page]] for advanced configurations
of Hama. 
+ Only two properties which are resource manager address and default filesystem uri is essentially
needed for Hama on YARN. The sample configuration is as follows:
+ {{{
+ <!-- Path to your hama-site.xml -->
+ <configuration>
+     <property>
+         <name>yarn.resourcemanager.address</name>
+         <value>'your resource manager address or hostname':'resource manager port'</value>
+     </property>
+     <property>
+         <name>fs.default.name</name>
+         <value>hdfs://'your default file system address or hostname':'default file
system port'/</value>
+     </property>
+ </configuration>
+ }}}
+ 
+ See also [[GettingStarted/Properties|configuration page]] for advanced configurations of
Hama. 
  
  === Advanced Properties ===
  ||'''Property Name'''||'''Default'''||'''Meaning'''||
@@ -28, +43 @@

  
  Launch Hama application which is serialize printing example:
  {{{
- $HAMA_HOME/bin/hama jar hama-yarn-0.7.0-SNAPSHOT.jar org.apache.hama.bsp.YarnSerializePrinting
+ $HAMA_HOME/bin/hama jar hama-yarn-0.7.0.jar org.apache.hama.bsp.YarnSerializePrinting
  }}}
  
- You should see "Hello BSP Message" which each container spawned in HDFS where you defined
output path.
+ You should see "Hello BSP" Messages which each container spawned in HDFS where you defined
output path in your ternimal. 
+ If your application is success, you'll be able to got the following message.
+ {{{
+ INFO bsp.YARNBSPJobClient: Application has completed successfully. Breaking monitoring loop
+ Hello BSP from 1 of 4: cluster-0:16004
+ Hello BSP from 2 of 4: cluster-1:16006
+ Hello BSP from 3 of 4: cluster-0:16008
+ Hello BSP from 4 of 4: cluster-1:16010
+ Job Finished in 14.838 seconds
+ }}}
  
  == How to write a Hama-YARN job ==
  
  The [[BSPModel]] hasn't changed, but the way to submit a job has.
  
- Basically you just need the following code to submit a Hama-YARN job
+ Basically you just need the following code to submit a Hama-YARN job.
  
  {{{
      HamaConfiguration conf = new HamaConfiguration();

Mime
View raw message