mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Darshan Sonagara <darshan.sonag...@gmail.com>
Subject Re: Problem in applying in patch Mahout-838
Date Sat, 03 May 2014 18:08:40 GMT
i am getting following error when i ran "cmdump" command on part-m-00000
file which is output file i got by "testnb" command.


hadoop@master:~/hadoop$ mahout cmdump -i
20_newsgroup_analysis/20_newsgroups-testing-test/part-m-00000 -o
darshan-testing -ow --text
Running on hadoop, using /home/hadoop/hadoop/bin/hadoop and HADOOP_CONF_DIR=
MAHOUT-JOB: /home/hadoop/mahout/mahout-examples-0.9-job.jar
14/05/03 23:35:17 WARN driver.MahoutDriver: No cmdump.props found on
classpath, will use command-line arguments only
14/05/03 23:35:17 INFO common.AbstractJob: Command line arguments:
{--endPhase=[2147483647],
--input=[20_newsgroup_analysis/20_newsgroups-testing-test/part-m-00000],
--output=[darshan-testing], --overwrite=null, --startPhase=[0],
--tempDir=[temp], --text=null}
Exception in thread "main" java.io.IOException: wrong value class:
org.apache.mahout.math.MatrixWritable@38151ff5 is not class
org.apache.mahout.math.VectorWritable
at org.apache.hadoop.io.SequenceFile$Reader.next(SequenceFile.java:1936)
at
org.apache.mahout.classifier.ConfusionMatrixDumper.readSeqFile(ConfusionMatrixDumper.java:234)
at
org.apache.mahout.classifier.ConfusionMatrixDumper.exportText(ConfusionMatrixDumper.java:173)
at
org.apache.mahout.classifier.ConfusionMatrixDumper.run(ConfusionMatrixDumper.java:159)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
at
org.apache.mahout.classifier.ConfusionMatrixDumper.main(ConfusionMatrixDumper.java:138)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at
org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:68)
at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:195)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at org.apache.hadoop.util.RunJar.main(RunJar.java:160)



On Sat, May 3, 2014 at 10:56 PM, Suneel Marthi <smarthi@apache.org> wrote:

> I believe Adam's reply could be a kid messing with his smartphone and
> hitting reply in error (happens with me sometimes).
>
> Anyways coming back to ur question, the patch u mention is a few years (and
> hence few versions old).
> Why would u want to try applying the patch in 2014?
> What r u trying to do?  Which version of Mahout r u working off of?
>
>
>
>
> On Sat, May 3, 2014 at 1:04 PM, Darshan Sonagara <
> darshan.sonagara@gmail.com
> > wrote:
>
> > i didn't get you.
> > can you please explain it properly.
> >
> >
> >
> > On Sat, May 3, 2014 at 8:57 PM, Adam Ilardi <mastaskillz33@gmail.com>
> > wrote:
> >
> > > A  a.  A.  A.   A. A.  A.  Ya. a saw as ate aqa. A  ...[ zZz —
> > > Sent from Mailbox
> > >
> > > On Thu, May 1, 2014 at 8:44 AM, Darshan Sonagara
> > > <darshan.sonagara@gmail.com> wrote:
> > >
> > > > Can anyone help me in applying patch MAHOUT-838 patch ?
> > > > Having error in cmdump command in mahout
> > > > Sent from my iPhone
> > >
> >
> >
> >
> > --
> >
> > *Regards From:*
> >
> > *Darshan  Sonagara*
> > *Collaborative Platform lead,** SSN Team | Gujarat Section.*
> >
> > *Vice-Chairperson | **GCET IEEE SB.*
> >
> > (: +*91* 9408002452
> >
> >
> >
> >  : Darshan Sonagara<
> > http://www.linkedin.com/pub/darshan-sonagara/64/11a/b54>
> >   : Darshan Sonagara <http://www.facebook.com/darshansonagara>
> >
>



-- 

*Regards From:*

*Darshan  Sonagara*
*Collaborative Platform lead,** SSN Team | Gujarat Section.*

*Vice-Chairperson | **GCET IEEE SB.*

(: +*91* 9408002452



 : Darshan Sonagara<http://www.linkedin.com/pub/darshan-sonagara/64/11a/b54>
  : Darshan Sonagara <http://www.facebook.com/darshansonagara>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message