mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rmx <ruimax...@hotmail.com>
Subject Re: Using with seq2spars org.apache.lucene.analysis.Analyzer
Date Sun, 03 Jul 2011 17:54:13 GMT
Please, what I am doing wrong?


trunk$ bin/mahout seq2sparse -i wikipedia-all-cat -o
wikipedia-vectors-analysed -seq -a org.apache.lucene.analysis.Analyzer -ow 
Running on hadoop, using HADOOP_HOME=/usr/local/hadoop
No HADOOP_CONF_DIR set, using /usr/local/hadoop/src/conf 
11/07/03 19:52:50 INFO vectorizer.SparseVectorsFromSequenceFiles: Maximum
n-gram size is: 1
11/07/03 19:52:50 INFO vectorizer.SparseVectorsFromSequenceFiles: Minimum
LLR value: 1.0
11/07/03 19:52:50 INFO vectorizer.SparseVectorsFromSequenceFiles: Number of
reduce tasks: 1
Exception in thread "main" java.lang.IllegalAccessException: Class
org.apache.mahout.vectorizer.SparseVectorsFromSequenceFiles can not access a
member of class org.apache.lucene.analysis.Analyzer with modifiers
"protected"
	at sun.reflect.Reflection.ensureMemberAccess(Reflection.java:95)
	at java.lang.Class.newInstance0(Class.java:366)
	at java.lang.Class.newInstance(Class.java:325)
	at
org.apache.mahout.vectorizer.SparseVectorsFromSequenceFiles.run(SparseVectorsFromSequenceFiles.java:198)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
	at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:79)
	at
org.apache.mahout.vectorizer.SparseVectorsFromSequenceFiles.main(SparseVectorsFromSequenceFiles.java:52)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	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)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:616)
	at org.apache.hadoop.util.RunJar.main(RunJar.java:156)


--
View this message in context: http://lucene.472066.n3.nabble.com/Using-with-seq2spars-org-apache-lucene-analysis-Analyzer-tp3108497p3135369.html
Sent from the Mahout User List mailing list archive at Nabble.com.

Mime
View raw message