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

Example factorize-movielens-1M.sh does not use HDFS

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • 0.9
    • 0.10.0
    • classic
    • Hadoop version: 2.4.0.2.1.1.0-385
      Git hash: 2b65475c3ab682ebd47cffdc6b502698799cd2c8 (trunk)

    Description

      It seems that factorize-movielens-1M.sh does not use HDFS at all. All paths look local paths, not HDFS. So the example crashes immeidately because it cannot find input data from HDFS:

      Exception in thread "main" org.apache.hadoop.mapreduce.lib.input.InvalidInputException: Input path does not exist: /tmp/mahout-work-hoseog.lee/movielens/ratings.csv
              at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.singleThreadedListStatus(FileInputFormat.java:320)
              at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.listStatus(FileInputFormat.java:263)
              at org.apache.hadoop.mapreduce.lib.input.FileInputFormat.getSplits(FileInputFormat.java:375)
              at org.apache.hadoop.mapreduce.JobSubmitter.writeNewSplits(JobSubmitter.java:493)
              at org.apache.hadoop.mapreduce.JobSubmitter.writeSplits(JobSubmitter.java:510)
              at org.apache.hadoop.mapreduce.JobSubmitter.submitJobInternal(JobSubmitter.java:394)
              at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1285)
              at org.apache.hadoop.mapreduce.Job$10.run(Job.java:1282)
              at java.security.AccessController.doPrivileged(Native Method)
              at javax.security.auth.Subject.doAs(Subject.java:415)
              at org.apache.hadoop.security.UserGroupInformation.doAs(UserGroupInformation.java:1557)
              at org.apache.hadoop.mapreduce.Job.submit(Job.java:1282)
              at org.apache.hadoop.mapreduce.Job.waitForCompletion(Job.java:1303)
              at org.apache.mahout.cf.taste.hadoop.als.DatasetSplitter.run(DatasetSplitter.java:94)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
              at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
              at org.apache.mahout.cf.taste.hadoop.als.DatasetSplitter.main(DatasetSplitter.java:64)
              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: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: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:212)
      

      Attachments

        1. MAHOUT-1594.patch
          2 kB
          jaehoon ko

        Activity

          People

            Andrew_Palumbo Andrew Palumbo
            jaehoon13.ko jaehoon ko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: