Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-324

conf.setMapOutputValueClass(vectorClass) should be conf.setMapOutputValueClass(Text.class); in KMeansDrive.runClustering(...)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.2
    • Fix Version/s: 0.3
    • Component/s: Clustering
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              wc2010 Chad Chen
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: