lucene-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shivani Rao <raoshiv...@gmail.com>
Subject LDAtopics while running mahout on hadoop
Date Thu, 24 Mar 2011 16:06:48 GMT
Seems like I got the wrong jar or the wrong class fiile. But this does not
work

bin/hadoop jar /<PATH to
MAHOUT>t/mahout/trunk/utils/target/mahout-utils-0.5-SNAPSHOT.jar
org.apache.mahout.clustering.lda.LDAPrintTopics -i ldaout/state-5 -d
vector_out/dictionary.file-0 -dt sequencefile -dtpo ldatopicsout
Exception in thread "main" java.lang.NoClassDefFoundError:
org/apache/commons/cli2/OptionException
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:264)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:185)
Caused by: java.lang.ClassNotFoundException:
org.apache.commons.cli2.OptionException
    at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    ... 3 more

Any ideas?

Regards,
Shivani


Research Scholar,
School of Electrical and Computer Engineering
Purdue University
West Lafayette IN
web.ics.purdue.edu/~sgrao <http://web.ics.purdue.edu/%7Esgrao>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message