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

DatasetSplitter.run doesn't parseArguments before getOption so throws and exception always

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.8
    • 0.8
    • None
    • all

    Description

      In DatasetSplitter.run it looks like getOption is being called before the parseArguments. When I do this

      Map<String,List<String>> parsedArgs = parseArguments(args);
      if (parsedArgs == null) {
      return -1;
      }

      before any call to getOption in DatasetSplitter.run it completes correctly. Not exactly sure how this is supposed to be done, it doesn't look like the options get parsed in the super class automatically.

      This will cause any invocation of splitDataset or DatasetSplitter to crash running the current trunk.

      On Dec 5, 2012, at 1:58 PM, Pat Ferrel <pat.ferrel@gmail.com> wrote:

      does anyone know if mahout/examples/bin/factorize-movielens-1M.sh is still working? CLI version of splitDataset is crashing in my build (latest trunk). Even as in "mahout splitDataset" to get the params. Wouldn't be the first time I mucked up a build though.

      Attachments

        1. MAHOUT-1125.1
          1 kB
          Ofer Mendelevitch

        Activity

          People

            ssc Sebastian Schelter
            pferrel Pat Ferrel
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: