incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Jungblut (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-374) Add LocalBSPRunner for local testing of BSPs
Date Mon, 11 Apr 2011 12:47:06 GMT

    [ https://issues.apache.org/jira/browse/HAMA-374?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018325#comment-13018325
] 

Thomas Jungblut commented on HAMA-374:
--------------------------------------

Sorry, last post was written from mobile.
This was intended to be a equivalent to Hadoop's LocalJobRunner. You can simply run your jobs
as a main method and step through the code in your IDE. And with adding the adress of the
cluster to your conf you are able to submit this to the real cluster. Therefore the conf.get("bsp.master.address").

You can try this by just calling the main method of pi estimator:

java hama-0.3.0-examples.jar org.apache.hadoop.examples.PiEstimator

Hope this gonna work, never tried from a bash.

> Add LocalBSPRunner for local testing of BSPs
> --------------------------------------------
>
>                 Key: HAMA-374
>                 URL: https://issues.apache.org/jira/browse/HAMA-374
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp
>    Affects Versions: 0.2.0
>            Reporter: Thomas Jungblut
>            Assignee: Thomas Jungblut
>            Priority: Minor
>             Fix For: 0.3.0
>
>         Attachments: hama-374.patch, hama-374_v2.patch, hama-374_v3.patch, hama-374_v4.patch,
hama-374_v5.patch, hama-374_v6.patch
>
>
> Wanted to share it with you.
> I already implemented this as a subclass of the JobSubmissionProtocol. Just setting the
jobSubmitClient in the BSPJobClient to a local version if the master adress is null.
> It is a simple single threaded running utility.
> Have a look at it!

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message