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: architecture
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.