mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yash Sharma <yash...@gmail.com>
Subject Re: donut.csv (No such file or directory)
Date Fri, 13 Jun 2014 10:20:35 GMT
Yes, so you can try this command:
bin/mahout cat examples/src/main/resources/donut.csv


On Fri, Jun 13, 2014 at 3:39 PM, 余长洪 <yu.chaong@gmail.com> wrote:

> Hi, Yash
>
>  thanks for your reply
>
> but  examples/src/main/resources/donut.csv  is exists
> i can find this file at this path.
>
> On Jun 13, 2014, at 6:04 PM, Yash Sharma <yash360@gmail.com> wrote:
>
> > Hi, The donut.csv file you are looking for is present at -
> > ./examples/src/main/resources/donut.csv
> >
> > Peace,
> > Yash
> >
> >
> > On Fri, Jun 13, 2014 at 3:15 PM, 余长洪 <yu.chaong@gmail.com> wrote:
> >
> >>
> >> I am reading the ‘Mahout in Action’
> >>
> >> I have installed mahout 0.9
> >>
> >> But when i run ‘bin/mahout cat donut.csv’ as the book say, i got a error
> >> like this:
> >>
> >>> Running on hadoop, using /usr/local/bin/hadoop and HADOOP_CONF_DIR=
> >>> MAHOUT-JOB:
> >> /Users/shawn/Code/mahout/examples/target/mahout-examples-0.9-job.jar
> >>> Exception in thread "main" java.io.FileNotFoundException: donut.csv (No
> >> such file or directory)
> >>>      at java.io.FileInputStream.open(Native Method)
> >>>      at java.io.FileInputStream.<init>(FileInputStream.java:120)
> >>>      at
> >>
> org.apache.mahout.classifier.sgd.TrainLogistic.open(TrainLogistic.java:315)
> >>>      at
> >>
> org.apache.mahout.classifier.sgd.PrintResourceOrFile.main(PrintResourceOrFile.java:36)
> >>>      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.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72)
> >>>      at
> org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:145)
> >>>      at
> >> org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:153)
> >>>      at
> >> org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:195)
> >>>      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:212)
> >>>
> >>
> >> I try to google for it , but find nothing
> >> Anyone can help me ?
> >> Thanks
> >>
>
>

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