Created 03-10-2015 05:44 AM
Hi,
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.
thanks
Created 08-07-2015 09:23 AM
Created 08-31-2015 07:41 PM
Created 09-01-2015 01:15 AM
Created 09-01-2015 07:06 AM
Created 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.CosineDistanceMeasure --pointsDir /.../clusteredPoints -o /no Hdfs/
The output path should be in your local file sytem. Try it!
Created 09-01-2015 08:00 AM
Created 01-18-2017 09:32 AM
i face the same problem as you.. have you solve it ? maybe you can tell me how can you solve it ?