Ok, I committed the examples patch in r955256. Please consider moving the MultipleOutputFormat stuff to core at your convenience. Also, note the MockMapperContext and MockReducerContext I introduced for testing the clustering mappers and reducers. It integrates with DummyOutputCollector to make updating unit tests to the new APIs pretty straightforward.

On 6/16/10 3:04 AM, Sean Owen (JIRA) wrote:
     [ 
https://issues.apache.org/jira/browse/MAHOUT-167?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12879297#action_12879297
 ]

Sean Owen commented on MAHOUT-167:
----------------------------------

I say go for it, since I would like to use these classes too, and am hitting 
the upgrade hard right now so could use it. YOu may also like the 
DummyRecordWriter class I just committed, for use in updating tests. You need 
it to make a Context to pass to tested mappers and reducers.

Convert clustering code to Hadoop 0.20 API
------------------------------------------

                 Key: MAHOUT-167
                 URL: https://issues.apache.org/jira/browse/MAHOUT-167
             Project: Mahout
          Issue Type: Improvement
          Components: Classification, Clustering, Frequent Itemset/Association 
Rule Mining, Genetic Algorithms, Math
    Affects Versions: 0.1
            Reporter: Jeff Eastman
            Assignee: Jeff Eastman
             Fix For: 0.4

         Attachments: MAHOUT-167.patch, MAHOUT-167.patch, MAHOUT-167e.patch, 
MAHOUT-167e.patch


We need to update the clustering implementations to remove the deprecated 
Hadoop API calls.

Reply via email to