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.
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.CosineDistanceMeasure --pointsDir /.../clusteredPoints -o /no Hdfs/
The output path should be in your local file sytem. Try it!