You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hama.apache.org by "Edward J. Yoon (JIRA)" <ji...@apache.org> on 2013/07/05 09:35:48 UTC
[jira] [Comment Edited] (HAMA-774) CompositeInputFormat in Hama
[ https://issues.apache.org/jira/browse/HAMA-774?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13700501#comment-13700501 ]
Edward J. Yoon edited comment on HAMA-774 at 7/5/13 7:34 AM:
-------------------------------------------------------------
+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
{code}
} else if job.get("bsp.join.expr") {
// Implement ..
}
{code}
was (Author: udanax):
+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