mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pat Ferrel <>
Subject Re: Run ItemSimilarityJob Problem
Date Sun, 12 Apr 2015 16:33:48 GMT
You are invoking it incorrectly but I’d suggest using the newer Spark version. It’s easier
to use and about 10x faster.

You’ll need to install Spark alongside Mahout then invoke with:

mahout spark-itemsimilarity -i input -o output ….

The driver is documented here:

On Apr 11, 2015, at 12:34 AM, lastarsenal <> wrote:


  I'm a rookie for mahout. Recently when I tried to run ItemSimilarityJob with my own hadoop,
I met a problem. The command is:

hadoop jar mahout-core-0.9-job.jar
-i /home/hadoop/itembased/user_item -o /home/hadoop/itembased/output -s SIMILARITY_EUCLIDEAN_DISTANCE
-mp 0 -b true --startPhase 0 --endPhase 0

There are 1 errors:
15/04/10 15:06:02 ERROR common.AbstractJob: Unexpected 0 while processing Job-Specific Options:
Unexpected 0 while processing Job-Specific Options:                             
[--input <input> --output <output> --similarityClassname <similarityClassname>

--maxSimilaritiesPerItem <maxSimilaritiesPerItem> --maxPrefs <maxPrefs>      
--minPrefsPerUser <minPrefsPerUser> --booleanData <booleanData> --threshold  
<threshold> --randomSeed <randomSeed> --help --tempDir <tempDir> --startPhase
<startPhase> --endPhase <endPhase>]    

What's the resaon for this situation? Thank you!

Best Regards,

View raw message