[ 
https://issues.apache.org/jira/browse/HAMA-57?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12631310#action_12631310
 ] 

Edward J. Yoon commented on HAMA-57:
------------------------------------

We can collect the <docName1, <<word1, 1>, <word2, 1>, <word2, 1>, ...>> from 
txt files on hdfs.
Then, using single reduce, we can set the word count matrix as describe below:

  wcmatrix.set(docName1, word1, sumValue);

But, If we would set the integer key ?? we should run the map/reduce job twice 
for word list.


> Add the example of Word Count Matrix
> ------------------------------------
>
>                 Key: HAMA-57
>                 URL: https://issues.apache.org/jira/browse/HAMA-57
>             Project: Hama
>          Issue Type: New Feature
>          Components: examples
>            Reporter: Edward J. Yoon
>            Assignee: Edward J. Yoon
>             Fix For: 0.1.0
>
>
> It'll shows how to use the Hama such as a real-world application.

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

Reply via email to