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 2011/06/09 18:06:58 UTC

[jira] [Created] (MAHOUT-726) IntWritable / VectorWritable cast problem in classifier/clustering implementations

IntWritable / VectorWritable cast problem in classifier/clustering implementations
----------------------------------------------------------------------------------

                 Key: MAHOUT-726
                 URL: https://issues.apache.org/jira/browse/MAHOUT-726
             Project: Mahout
          Issue Type: Bug
          Components: Classification, Clustering
    Affects Versions: 0.5
            Reporter: Sean Owen
             Fix For: 0.6


I think we've seen this sort of error, most recently reported by Hector:

Exception in thread "main" java.lang.ClassCastException:
org.apache.hadoop.io.IntWritable cannot be cast to
org.apache.mahout.math.VectorWritable
 at
org.apache.mahout.clustering.kmeans.RandomSeedGenerator.buildRandom(RandomSeedGenerator.java:90)
at
org.apache.mahout.clustering.kmeans.KMeansDriver.run(KMeansDriver.java:102)

Hector indicates it's also in LDA and Dirichlet, so probably a common issue to all, though also I suspect an easy fix whatever it is.

Tracking it formally with a JIRA to record the resolution.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (MAHOUT-726) IntWritable / VectorWritable cast problem in classifier/clustering implementations

Posted by "Hector Yee (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/MAHOUT-726?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13046684#comment-13046684 ] 

Hector Yee commented on MAHOUT-726:
-----------------------------------

Turns out to be user error, I was using the reuters-vectors directory instead of reuters-vectors/tfidf-vectors


> IntWritable / VectorWritable cast problem in classifier/clustering implementations
> ----------------------------------------------------------------------------------
>
>                 Key: MAHOUT-726
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-726
>             Project: Mahout
>          Issue Type: Bug
>          Components: Classification, Clustering
>    Affects Versions: 0.5
>            Reporter: Sean Owen
>             Fix For: 0.6
>
>
> I think we've seen this sort of error, most recently reported by Hector:
> Exception in thread "main" java.lang.ClassCastException:
> org.apache.hadoop.io.IntWritable cannot be cast to
> org.apache.mahout.math.VectorWritable
>  at
> org.apache.mahout.clustering.kmeans.RandomSeedGenerator.buildRandom(RandomSeedGenerator.java:90)
> at
> org.apache.mahout.clustering.kmeans.KMeansDriver.run(KMeansDriver.java:102)
> Hector indicates it's also in LDA and Dirichlet, so probably a common issue to all, though also I suspect an easy fix whatever it is.
> Tracking it formally with a JIRA to record the resolution.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (MAHOUT-726) IntWritable / VectorWritable cast problem in classifier/clustering implementations

Posted by "Sean Owen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/MAHOUT-726?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sean Owen resolved MAHOUT-726.
------------------------------

       Resolution: Not A Problem
    Fix Version/s:     (was: 0.6)

OK cool.

> IntWritable / VectorWritable cast problem in classifier/clustering implementations
> ----------------------------------------------------------------------------------
>
>                 Key: MAHOUT-726
>                 URL: https://issues.apache.org/jira/browse/MAHOUT-726
>             Project: Mahout
>          Issue Type: Bug
>          Components: Classification, Clustering
>    Affects Versions: 0.5
>            Reporter: Sean Owen
>
> I think we've seen this sort of error, most recently reported by Hector:
> Exception in thread "main" java.lang.ClassCastException:
> org.apache.hadoop.io.IntWritable cannot be cast to
> org.apache.mahout.math.VectorWritable
>  at
> org.apache.mahout.clustering.kmeans.RandomSeedGenerator.buildRandom(RandomSeedGenerator.java:90)
> at
> org.apache.mahout.clustering.kmeans.KMeansDriver.run(KMeansDriver.java:102)
> Hector indicates it's also in LDA and Dirichlet, so probably a common issue to all, though also I suspect an easy fix whatever it is.
> Tracking it formally with a JIRA to record the resolution.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira