mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Faizan\(Aroha\)" <faizan.she...@arohalabs.net>
Subject error - prepare20newsgroups
Date Sat, 19 Nov 2011 12:30:15 GMT
 

Would anybody please give any hint about this error ?

 

 

$ bin/mahout prepare20newsgroups -p 20news-bydate-train/ \

-o 20news-train/ \

-a org.apache.lucene.analysis.standard.StandardAnalyzer \

-c UTF-8


MAHOUT_LOCAL is set, so we don't add HADOOP_CONF_DIR to classpath.
MAHOUT_LOCAL is set, running locally
Exception in thread "main" java.lang.IllegalStateException:
java.lang.NoSuchMethodException:
org.apache.lucene.analysis.standard.StandardAnalyzer.<init>()
    at org.apache.mahout.common.ClassUtils.instantiateAs(ClassUtils.java:65)
    at org.apache.mahout.common.ClassUtils.instantiateAs(ClassUtils.java:28)
    at
org.apache.mahout.classifier.bayes.PrepareTwentyNewsgroups.main(PrepareTwent
yNewsgroups.java:89)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver
.java:68)
    at org.apache.hadoop.util.ProgramDriver.driver(ProgramDriver.java:139)
    at org.apache.mahout.driver.MahoutDriver.main(MahoutDriver.java:188)
Caused by: java.lang.NoSuchMethodException:
org.apache.lucene.analysis.standard.StandardAnalyzer.<init>()
    at java.lang.Class.getConstructor0(Class.java:2706)
    at java.lang.Class.getConstructor(Class.java:1657)
    at org.apache.mahout.common.ClassUtils.instantiateAs(ClassUtils.java:59)
    ... 9 more

 

 

-- 

Best Regards

Faizan Shaikh
Aroha Labs (Private) Limited

 


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