[
https://issues.apache.org/jira/browse/HAMA-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13700501#comment-13700501
]
Edward J. Yoon commented on HAMA-774:
-------------------------------------
+1 for adding CompositeInputFormat.
{quote} But currently I'm missing some integration into BSPPeerImpl {quote}
See BSPJobClient.submitJobInternal() method.
{code}
// only create the splits if we have an input
if (job.get("bsp.input.dir") != null) {
{code}
You'll need to add something like "else if job.get("bsp.join.expr") { // Sets
the splits };"
> CompositeInputFormat in Hama
> ----------------------------
>
> Key: HAMA-774
> URL: https://issues.apache.org/jira/browse/HAMA-774
> Project: Hama
> Issue Type: New Feature
> Components: bsp core
> Affects Versions: 0.6.2
> Reporter: Martin Illecker
> Assignee: Martin Illecker
> Priority: Minor
> Fix For: 0.6.3
>
> Attachments: HAMA-774.patch
>
>
> *Adapting Hadoop CompositeInputFormat to Hama.*
> Adapt the CompositeInputFormat from Hadoop and integrate it into Hama.
> e.g., Useful for matrix multiplication example by doing a inner join of two
> matrices.
> Therefore the Hadoop join package has been adapted within
> *org.apache.hama.bsp.join*.
> Finally I would need some help to integrate the CompositeInputFormat into
> Hama by using
> {code}
> job.setInputFormat(CompositeInputFormat.class);
> job.set("bsp.join.expr", CompositeInputFormat.compose("inner",
> SequenceFileInputFormat.class, aPath, bPath));
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira