mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From deneche abdelhakim <a_dene...@yahoo.fr>
Subject Re: Re : Partial Implementation of Random Forest
Date Wed, 06 Apr 2011 04:14:10 GMT
There was a new bug in the code and I fixed it. Please try again after updating the code. I
am also using Cloudera's Hadoop and it's running just fine

--- En date de : Jeu 31.3.11, praneet mhatre <praneetmhatre@gmail.com> a écrit :

De: praneet mhatre <praneetmhatre@gmail.com>
Objet: Re: Re : Partial Implementation of Random Forest
À: user@mahout.apache.org
Cc: "deneche abdelhakim" <a_deneche@yahoo.fr>
Date: Jeudi 31 mars 2011, 23h34

Hi Deneche,

I used the trunk. I still encounter the same error. By the way, I am running mahout on top
of Cloudera's Linux image. I was just wondering if that has anything to do with the error.

Exception in thread "main" java.lang.IllegalStateException: java.io.EOFException

    at org.apache.mahout.common.iterator.sequencefile.SequenceFileIterable.iterator(SequenceFileIterable.java:63)
    at org.apache.mahout.df.mapreduce.partial.Step0Job.parseOutput(Step0Job.java:142)
    at org.apache.mahout.df.mapreduce.partial.Step0Job.run(Step0Job.java:120)

    at org.apache.mahout.df.mapreduce.partial.PartialBuilder.parseOutput(PartialBuilder.java:115)
    at org.apache.mahout.df.mapreduce.Builder.build(Builder.java:324)
    at org.apache.mahout.df.mapreduce.BuildForest.buildForest(BuildForest.java:195)

    at org.apache.mahout.df.mapreduce.BuildForest.run(BuildForest.java:159)
    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
    at org.apache.mahout.df.mapreduce.BuildForest.main(BuildForest.java:239)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:186)
Caused by: java.io.EOFException
    at java.io.DataInputStream.readFully(DataInputStream.java:180)

    at java.io.DataInputStream.readFully(DataInputStream.java:152)
    at org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1457)
    at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1435)

    at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1424)
    at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1419)
    at org.apache.mahout.common.iterator.sequencefile.SequenceFileIterator.<init>(SequenceFileIterator.java:59)

    at org.apache.mahout.common.iterator.sequencefile.SequenceFileIterable.iterator(SequenceFileIterable.java:61)
    ... 13 more
cloudera@cloudera-demo:~/Downloads/trunk$ 

Thanks,


On Thu, Mar 31, 2011 at 5:15 AM, deneche abdelhakim <a_deneche@yahoo.fr> wrote:

Hi Prannet,



I fixed various bugs since 0.4, could you try using the trunk, and see if it's happening again
?



--- En date de : Mar 29.3.11, praneet mhatre <praneetmhatre@gmail.com> a écrit :



De: praneet mhatre <praneetmhatre@gmail.com>

Objet: Partial Implementation of Random Forest

À: user@mahout.apache.org

Date: Mardi 29 mars 2011, 18h30



I think my previous mail did not get through.



---------- Forwarded message ----------

From: praneet mhatre <praneetmhatre@gmail.com>

Date: Mon, Mar 28, 2011 at 10:50 PM

Subject: Partial Implementation of Random Forest

To: user@mahout.apache.org





Hello all,



I very recently started working on Mahout. To get the feel of things, I was

trying to run  the sample implementation of Random Forest posted on the Wiki

( https://cwiki.apache.org/confluence/display/MAHOUT/Partial+Implementation).

However, even when I issue the exact same commands, I get an

EOFException

error as follows:

Exception in thread "main" java.io.EOFException

    at java.io.DataInputStream.readFully(DataInputStream.java:180)

    at java.io.DataInputStream.readFully(DataInputStream.java:152)

    at org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1457)

    at

org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1435)

    at

org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1424)

    at

org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1419)

    at

org.apache.mahout.df.mapreduce.partial.Step0Job.parseOutput(Step0Job.java:145)

    at

org.apache.mahout.df.mapreduce.partial.Step0Job.run(Step0Job.java:119)

    at

org.apache.mahout.df.mapreduce.partial.PartialBuilder.parseOutput(PartialBuilder.java:115)

    at org.apache.mahout.df.mapreduce.Builder.build(Builder.java:338)

    at

org.apache.mahout.df.mapreduce.BuildForest.buildForest(BuildForest.java:195)

    at org.apache.mahout.df.mapreduce.BuildForest.run(BuildForest.java:159)

    at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)

    at org.apache.mahout.df.mapreduce.BuildForest.main(BuildForest.java:236)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at

sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at

sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)

    at org.apache.hadoop.util.RunJar.main(RunJar.java:186)

cloudera@cloudera-demo:~/Downloads/mahout-distribution-0.4$



Can you please tell me what the problem is?



Thank you,



--

Praneet Mhatre

Graduate Student

Donald Bren School of ICS

University of California, Irvine




-- 
Praneet Mhatre
Graduate Student
Donald Bren School of ICS
University of California, Irvine




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