You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by "Sean Owen (JIRA)" <ji...@apache.org> on 2010/03/10 00:40:27 UTC

[jira] Commented: (MAHOUT-324) conf.setMapOutputValueClass(vectorClass) should be conf.setMapOutputValueClass(Text.class); in KMeansDrive.runClustering(...)

    [ https://issues.apache.org/jira/browse/MAHOUT-324?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12843360#action_12843360 ] 

Sean Owen commented on MAHOUT-324:
----------------------------------

Agree, they don't match. Unless anyone chimes in on this I'm going to fix the driver to reference Text as the output type.

> conf.setMapOutputValueClass(vectorClass) should be conf.setMapOutputValueClass(Text.class); in KMeansDrive.runClustering(...)
> -----------------------------------------------------------------------------------------------------------------------------
>
>                 Key: MAHOUT-324
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-324
>             Project: Mahout
>          Issue Type: Bug
>          Components: Clustering
>    Affects Versions: 0.2
>            Reporter: William Wallace
>            Priority: Minor
>
> It looks to me the MapOutputValueClass is not set correctly in the method KMeansDrive.runClustering(...). , which doesn't match the OutputCollector used by the KMeansClusterMapper. Although it doesn't affect the output in the current implementation since the mapred.reduce.tasks is set to 0, it should be corrected.
> Please confirm if this bug is valid.
> Thanks.

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