I see the problem. Actually, this job is accidentally mixing up two
options by giving them the same short name, -i. You are correctly
using -i as short for -input (which works, good), but it's also using
-i for -itemsFile which is something else.

Sebastian, how about I just remove their short forms, for -itemsFile
and -usersFile?

Yes, that's just what -usersFile means. (And -itemsFile means
something analogous.)

On Fri, Oct 14, 2011 at 9:32 PM, Josh Patterson <j...@cloudera.com> wrote:
> I was having trouble with the "-i" parameter for the RecommenderJob in
> Mahout 0.5
>
> ie:
>
> mahout recommenditembased -i /hdfs/dir ....
>
> kept telling me that I had not given it a hdfs directory. When i used the 
> full:
>
> mahout recommenditembased --input /hdfs/dir ....
>
> it ran the job. Anyone else seen this before?
>
>
> Also, can anyone shed a bit of light on using the "--usersFile" flag
> vs not using it; Seems like it recommends for all users if I dont give
> it, and I'd assume for only specific users (based on what the code is
> telling me) if you provide it?
>
> JP
>
> --
> Twitter: @jpatanooga
> Solution Architect @ Cloudera
> hadoop: http://www.cloudera.com
>

Reply via email to