Hi !!!

Thank you so much for your quick response !! I just copied and paste from
one of tutorial !! Thank , I correct it my mistake but still I have some
problem !!!

Now I got another problem

prakash@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)



Hope you will reply soon.

Thank you so much.


Prakash

On Tue, Apr 26, 2016 at 7:21 PM, Prakash Poudyal <prakashpoud...@gmail.com>
wrote:

> Hi Rohit,
>
> Thank you so much for your quick response !! I just copied and paste from
> one of tutorial !! Thank , I correct it my mistake but still I have some
> problem !!!
>
> Now I got another problem
>
> prakash@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)
>
>
>
> Hope you will reply soon.
>
> Thank you so much.
>
>
> Prakash
>
>
>
>
> On Tue, Apr 26, 2016 at 7:16 PM, Rohit Jain <rohitkjai...@gmail.com>
> wrote:
>
>> I guess you copied this command from somwhere due to which hyphen in the
>> command is of different from other hyphens used. please retype hyphen on
>> command line and it ahould work
>>
>> On Tuesday 26 April 2016, Prakash Poudyal <prakashpoud...@gmail.com>
>> wrote:
>>
>> > Hi !
>> >
>> > I install mahout, and currently I am trying to use fuzzy clustering. Can
>> > anybody help me to solve the error that I got.
>> >
>> > The command that I use is
>> >
>> > prakash@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 18:48:48 ERROR common.AbstractJob: Unexpected –o while
>> processing
>> > Job-Specific Options:
>> > Unexpected –o while processing Job-Specific Options:
>> >
>> > --
>> >
>> > Regards
>> > Prakash Poudyal
>> >
>>
>>
>> --
>> Thanks & Regards,
>>
>> *Rohit Jain*
>> Web developer | Consultant
>> Mob +91 8097283931
>>
>
>
>
> --
>
> Regards
> Prakash Poudyal
>
>


-- 

Regards
Prakash Poudyal

Reply via email to