Suneel Marthi created MAHOUT-1370:
-------------------------------------

             Summary: Vectordump doesn't write to output file in MapReduce Mode
                 Key: MAHOUT-1370
                 URL: https://issues.apache.org/jira/browse/MAHOUT-1370
             Project: Mahout
          Issue Type: Bug
          Components: Integration
    Affects Versions: 0.8, 0.7
            Reporter: Suneel Marthi
            Assignee: Suneel Marthi
            Priority: Minor
             Fix For: 0.9


When trying to run to run Vectordump in MR mode, get a 
FileNotFoundException: No such File or Directory.

{Code}

13/12/03 19:29:22 INFO vectors.VectorDumper: Output file: 
/tmp/mahout-work-user/reuters-lda/vectordump
Exception in thread "main" java.io.FileNotFoundException: 
/tmp/mahout-work-user/reuters-lda/vectordump (No such file or directory)
        at java.io.FileOutputStream.open(Native Method)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:194)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:145)
        at com.google.common.io.Files.newWriter(Files.java:101)
        at 
org.apache.mahout.utils.vectors.VectorDumper.run(VectorDumper.java:153)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
        at 
org.apache.mahout.utils.vectors.VectorDumper.main(VectorDumper.java:262)
        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: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: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:160)


{Code}




--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to