Hi Ricardo, Mahout's jobs need a temporary directory for intermediate files. If you don't supply a path for that, they will create a temp folder in the directory where you started the job. Additionally a job will not be able to write to that directory if it already exists, which is the cause for your exception.
Add a parameter --tempDir to your invocation and make sure it points to a non existing directory. --sebastian Am 02.01.2011 10:22, schrieb Ricardo: THXS. > My syntax looks: > ./mahout itemsimilarity --input ../cf/taste/.... --output ..//... > --similarityClassname SIMILARITY_EUCLIDEAN_DISTANCE --booleanData > The output I get: > ...Exemption in thread "main" > org.apache.hadoop.mapred.FileAlreadyExistsException: Output directory > temp/itemIDIndex already exists ..... > > Ricardo > > > > -----Original Message----- > From: Sebastian Schelter [mailto:[email protected]] > Sent: Wednesday, December 29, 2010 5:59 PM > To: [email protected] > Cc: [email protected] > Subject: Re: itemsimilarity > > -dev +user > > Hi Ricardo, > > can you provide more details about what exactly doesn't work? Do you get > an exception or do you get empty results? > > --sebastian > > Am 29.12.2010 14:32, schrieb Ricardo: >> Hi: >> I am completely new at mahout. I have just installed all the components >> needed, however I don't succeed running a query. >> >> I prepared a text file that looks: "user id, item id, rate", and run the >> syntax ./mahout itemsimilarity -input ../././text file --output >> ../././folder >> >> However it doesn't succeed. I've looked all over, but can't find in the > NET >> a clear example/tutorial that I can follow in order to learn the syntax. >> >> THXS >> >> >> >> Ricardo >> >> >> >> >> >> > > > >
