Yes I have 0.20.2.jar. Somebody can help me with this please? Code :
Pair<Long[], List<Path>> calculate =TFIDFConverter.calculateDF(new Path(outputDir,DocumentProcessor.TOKENIZED_DOCUMENT_OUTPUT_FOLDER), new Path(outputDir, DictionaryVectorizer.DOCUMENT_VECTOR_OUTPUT_FOLDER), conf, chuckSize); Error : java.lang.ClassCastException: org.apache.mahout.common.StringTuple cannot be cast to org.apache.mahout.math.VectorWritable -----Message d'origine----- De : kiran kumar [mailto:kirankumarsm...@gmail.com] Envoyé : mardi 31 juillet 2012 15:55 À : user@mahout.apache.org Objet : Re: 回复:mahout lib : permissions Actually i too faced the same problem.Whether you try to run it from source or libraries, it says the same. In fact downgrade the hadoop jar file to older versions like hadoop-core-0.20.204.0.jar to "hadoop-core-0.20.2.jar" and replace in examples/target/dependency folder. This should work. I am still not sure why it doesn't work with the direct download version.. Thanks, Kiran On Tue, Jul 31, 2012 at 8:30 AM, Videnova, Svetlana < svetlana.viden...@logica.com> wrote: > I'm using cygwin. Permissions problems was beacause I wasn’t using > aparantly cygwin. Thanks all. > > > But I have still this error. What about jobs problems? > > Exception in thread "main" java.lang.IllegalStateException: Job failed! > at > org.apache.mahout.vectorizer.DocumentProcessor.tokenizeDocuments(DocumentProcessor.java:95) > at main.MainClass.main(MainClass.java:57) > > thank you > > > -----Message d'origine----- > De : Sean Owen [mailto:sro...@gmail.com] Envoyé : mardi 31 juillet > 2012 10:27 À : user@mahout.apache.org Objet : Re: 回复:mahout lib : > permissions > > Mahout currently works against 0.20.205. I do not know if it still > works with 0.20.2. You should not have to downgrade. > > The very first thing is to use Cygwin, not the Windows shell. > > On Tue, Jul 31, 2012 at 9:23 AM, Julian Ortega < > julian.ort...@fredhopper.com> wrote: > > Not exactly, you will still get the issue on version 0.20.204, you > > want version 0.20.2 > > > > > Think green - keep it on the screen. > > This e-mail and any attachment is for authorised use by the intended > recipient(s) only. It may contain proprietary material, confidential > information and/or be subject to legal privilege. It should not be > copied, disclosed to, retained or used by, any other party. If you are > not an intended recipient then please promptly delete this e-mail and > any attachment and all copies and inform the sender. Thank you. > > -- Thanks & Regards, Kiran Kumar Think green - keep it on the screen. This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.