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 "HowToDebugBSPPrograms" by thomasjungblut
Date Mon, 24 Oct 2011 17:28:33 GMT
Dear Wiki user,

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

The "HowToDebugBSPPrograms" page has been changed by thomasjungblut:
http://wiki.apache.org/hama/HowToDebugBSPPrograms?action=diff&rev1=2&rev2=3

     under the debugger and runs on your development machine.  A very quick and easy way to
set this 
     config variable is to include the following line just before you run the job:    <<BR>>
     {{{conf.set("bsp.master.address", "local");}}}
+    <<BR>><<BR>>
+    Running in local mode makes the job run within 20 threads by default. Since this isn't
always very convenient to debug, you can decrease the number of tasks with this line:<<BR>>
+    {{{conf.set("bsp.local.tasks.maximum", "2")}}} <<BR>>
+    Obviously, this sets the number of tasks used to 2.
     <<BR>><<BR>>
     You may also want to do this to make the input and output files be in the local file
system rather than in the Hadoop 
     distributed file system (HDFS):   <<BR>>

Mime
View raw message