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 2008/08/06 04:48:44 UTC
[jira] Updated: (HAMA-17) The vector implementation should be
merged with VectorDatum.
[ https://issues.apache.org/jira/browse/HAMA-17?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Edward J. Yoon updated HAMA-17:
-------------------------------
Component/s: (was: interface)
implementation
> The vector implementation should be merged with VectorDatum.
> ------------------------------------------------------------
>
> Key: HAMA-17
> URL: https://issues.apache.org/jira/browse/HAMA-17
> Project: Hama
> Issue Type: Improvement
> Components: implementation
> Reporter: Edward J. Yoon
> Fix For: 0.1.0
>
>
> Input value should be vector. Then, We might use memory.
> public void map(ImmutableBytesWritable key, Vector value,
> OutputCollector<ImmutableBytesWritable, Vector> output,
> Reporter reporter) throws IOException {
> Vector v1 = new Vector(B.getRowResult(key.get()));
> output.collect(key, v1.addition(key.get(), value.getVector()));
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.