Uploaded image for project: 'Mahout'
  1. Mahout
  2. MAHOUT-1370

Vectordump doesn't write to output file in MapReduce Mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 0.7, 0.8
    • 0.9
    • Integration
    • None

    Description

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

      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)
      
      
      

      Attachments

        Activity

          People

            smarthi Suneel Marthi
            smarthi Suneel Marthi
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: