incubator-hama-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward J. Yoon (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HAMA-244) Consider more simplified BSP programming interface
Date Thu, 13 May 2010 04:14:44 GMT

     [ https://issues.apache.org/jira/browse/HAMA-244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Edward J. Yoon updated HAMA-244:
--------------------------------

    Attachment: HAMA-244_v01.patch

Below is my imagination of how to configure the BSP job and launching it.

To avoid some collision with mapreduce.JobConf, I would like to rename the JobConf to BSPJobConf.

----
    HamaConfiguration conf = new HamaConfiguration();
    
    // BSP job configuration
    BSPJobConf bsp = new BSPJobConf();
    // 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.setCarriage(BSPProgram.class);
    BSPJobClient.runJob(bsp);

> Consider more simplified BSP programming interface
> --------------------------------------------------
>
>                 Key: HAMA-244
>                 URL: https://issues.apache.org/jira/browse/HAMA-244
>             Project: Hama
>          Issue Type: Improvement
>          Components: bsp
>    Affects Versions: 0.2.0
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.2.0
>
>         Attachments: HAMA-244_v01.patch
>
>
> Perhaps, every BSP program will be consists of three steps such as,  initialization,
 SPMD code implementation, and finalization from developer angle.
> However, currently there is no interface layer so users have to do all the works w/o
any guide.
> Would be nice if it allow to use a more simplified interface.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message