On 5/25/10 8:51 PM, Jake Mannix wrote:
Hi Shannon,

On Tue, May 25, 2010 at 8:10 PM, Shannon Quinn<[email protected]>  wrote:
(snip)
2) In getting a feel for Mahout, I've been running a few of the examples on
my own, and have noticed that if I supply the "-h" argument by itself to
some of the available programs, I get an exception, followed by the list of
available options for that program. For instance, in running "./bin/mahout
seq2sparse -h":

That is almost definitely a bug in either AbstractJob, or the Driver class
which is using it.  File a JIRA ticket for it, and earn brownie points from
all of us (find out where in the code it's barfing, get even Bigger points,
and if you post too many patches fixing said problems, and you'll wind
up inadvertently becoming a committer!).
This is caused by the lack of some required arguments in the command line, e.g. if you run a Canopy clustering job with just (-h) the GroupBuilder will throw exceptions for the missing required -i, -o, t1, and t2 options before giving you your help output. Perhaps another mechanism is needed to indicate required/optional since there isn't a way to indicate that -h should override all the other required options at this point in the processing. Maybe we need to subclass GroupBuilder to allow -h to override all the other required flags.

Reply via email to