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.

Reply via email to