03-10-2015 05:44 AM
i'm newbie at both Mahout and Hadoop environmenet, i started to ran a simple example with kmeans.
Everything turned well until i tried to visualize the results with clusterdump command.
I've tried this :
mahout clusterdum -i /user/hdfs/outputkmeans/clusters-*-final -o /user/hdfs/outputkmeans/clusterresults.txt
i get this error:
Exception in thread "main" java.io.IOException: Unable to create parent directory of /user/hdfs/outputkmeans/clusterresults.txt
and even if i change the directory still get the same error
I would appreciate any help or tip.
08-31-2015 07:41 PM
09-01-2015 01:15 AM
09-01-2015 07:06 AM
09-01-2015 07:57 AM
ok then and how does your clusterdump command look like? It should be something like that:
bin/mahout clusterdump -s /.../clusters-*-final -d /.../directory.file-0 -dt sequencefile -b 100 -n 20
--evaluate -dm or.apache.mahout.common.distance.CosineDistanceMea
The output path should be in your local file sytem. Try it!