Discussion:
INFO compress.CodecPool: Got brand-new compressor
Prakash Poudyal
2016-04-26 20:10:29 UTC
Permalink
Hi!!

I got one problem of

"INFO compress.CodecPool: Got brand-new compressor
Exception in thread "main" java.lang.IllegalStateException:
file:/home/prakash/ldvector/bupa.data"

the command is this

***@840:~/mahout/trunk$ bin/mahout fkmeans -i /home/prakash/ldvector/
-c /home/prakash/fkcluster -o /home/prakash/kfuzzycentriods -cd 1.0 -k 4 -m
1.01 -x 5 -dm org.apache.mahout.common.distance.EuclideanDistanceMeasure
-cl -xm mapreduce
MAHOUT_LOCAL is set, so we don't add HADOOP_CONF_DIR to classpath.
Warning: $HADOOP_HOME is deprecated.

MAHOUT_LOCAL is set, running locally
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in
[jar:file:/home/prakash/mahout/trunk/examples/target/mahout-examples-1.0-SNAPSHOT-job.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in
[jar:file:/home/prakash/mahout/trunk/examples/target/dependency/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an
explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]
16/04/26 19:18:39 INFO common.AbstractJob: Command line arguments:
{--clustering=null, --clusters=[/home/prakash/fkcluster],
--convergenceDelta=[1.0],
--distanceMeasure=[org.apache.mahout.common.distance.EuclideanDistanceMeasure],
--emitMostLikely=[true], --endPhase=[2147483647],
--input=[/home/prakash/ldvector/], --m=[1.01], --maxIter=[5],
--method=[mapreduce], --numClusters=[4],
--output=[/home/prakash/kfuzzycentriods], --startPhase=[0],
--tempDir=[temp], --threshold=[0]}
16/04/26 19:18:50 INFO common.HadoopUtil: Deleting /home/prakash/fkcluster
16/04/26 19:18:50 WARN util.NativeCodeLoader: Unable to load native-hadoop
library for your platform... using builtin-java classes where applicable
16/04/26 19:18:50 INFO compress.CodecPool: Got brand-new compressor
Exception in thread "main" java.lang.IllegalStateException:
file:/home/prakash/ldvector/bupa.data
at
org.apache.mahout.common.iterator.sequencefile.SequenceFileIterable.iterator(SequenceFileIterable.java:63)
at
org.apache.mahout.clustering.kmeans.RandomSeedGenerator.buildRandom(RandomSeedGenerator.java:102)
at
org.apache.mahout.clustering.fuzzykmeans.FuzzyKMeansDriver.run(FuzzyKMeansDriver.java:108)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:65)
at
org.apache.mahout.clustering.fuzzykmeans.FuzzyKMeansDriver.main(FuzzyKMeansDriver.java:51)
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:606)
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:195)
Caused by: java.io.IOException: file:/home/prakash/ldvector/bupa.data not a
SequenceFile
at org.apache.hadoop.io.SequenceFile$Reader.init(SequenceFile.java:1517)
at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1490)
at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1479)
at org.apache.hadoop.io.SequenceFile$Reader.<init>(SequenceFile.java:1474)
at
org.apache.mahout.common.iterator.sequencefile.SequenceFileIterator.<init>(SequenceFileIterator.java:63)
at
org.apache.mahout.common.iterator.sequencefile.SequenceFileIterable.iterator(SequenceFileIterable.java:61)
--
Regards
Prakash Poudyal
Loading...