Return-Path: X-Original-To: apmail-mahout-dev-archive@www.apache.org Delivered-To: apmail-mahout-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 338A5E072 for ; Thu, 17 Jan 2013 16:54:24 +0000 (UTC) Received: (qmail 96813 invoked by uid 500); 17 Jan 2013 16:54:23 -0000 Delivered-To: apmail-mahout-dev-archive@mahout.apache.org Received: (qmail 96731 invoked by uid 500); 17 Jan 2013 16:54:22 -0000 Mailing-List: contact dev-help@mahout.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mahout.apache.org Delivered-To: mailing list dev@mahout.apache.org Received: (qmail 96712 invoked by uid 99); 17 Jan 2013 16:54:22 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 17 Jan 2013 16:54:22 +0000 Date: Thu, 17 Jan 2013 16:54:22 +0000 (UTC) From: "Sebastian Schelter (JIRA)" To: dev@mahout.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (MAHOUT-1125) DatasetSplitter.run doesn't parseArguments before getOption so throws and exception always MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MAHOUT-1125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Sebastian Schelter reassigned MAHOUT-1125: ------------------------------------------ Assignee: Sebastian Schelter (was: Sean Owen) > DatasetSplitter.run doesn't parseArguments before getOption so throws and exception always > ------------------------------------------------------------------------------------------ > > Key: MAHOUT-1125 > URL: https://issues.apache.org/jira/browse/MAHOUT-1125 > Project: Mahout > Issue Type: Bug > Components: Collaborative Filtering > Affects Versions: 0.8 > Environment: all > Reporter: Pat Ferrel > Assignee: Sebastian Schelter > Priority: Blocker > Labels: patch > Fix For: 0.8 > > Attachments: MAHOUT-1125.1 > > > In DatasetSplitter.run it looks like getOption is being called before the parseArguments. When I do this > Map> 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 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. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira