incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ChiaHung Lin (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HAMA-374) Add LocalBSPRunner for local testing of BSPs
Date Tue, 19 Apr 2011 05:32:05 GMT

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

ChiaHung Lin commented on HAMA-374:
-----------------------------------

The patch look great. 

But because I do not use IDE, so a test (execute by command line) to run LocalBSPRunner yields


  Exception in thread "main" org.apache.hadoop.util.Shell$ExitCodeException: chmod: cannot
access `/user/hama/bsp/submit_52hui7': No such file or directory

Is there any way I can override the default working directory without altering the code? 

> 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