You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mahout.apache.org by Raghuveer <al...@yahoo.com.INVALID> on 2015/03/09 07:18:29 UTC

kmeans throwing exception

Hi All,
I am trying to run the following command:
./mahout kmeans -i hdfs://master:54310/user/netlog/upload/output4/tfidf-vectors/part-r-00000 -o  hdfs://master:54310//user/netlog/upload/output4/tfidf-vectors-kmeans-clusters-raghuveer -c  hdfs://master:54310/user/netlog/upload/output4/uscensus-kmeans-centroids -dm org.apache.mahout.common.distance.CosineDistanceMeasure -x 5 -ow -cl -k 25
getting the following exception:
IllegalStateException: No input clusters found in hdfs://master:54310/user/netlog/upload/output4/uscensus-kmeans-centroids/part-randomSeed. Check your -c argument.
kindly suggest.


Re: kmeans throwing exception

Posted by Raghuveer <al...@yahoo.com.INVALID>.
i also tried with the following command:
./mahout kmeans -i hdfs://master:54310/user/netlog/upload/output4/tfidf-vectors/part-r-00000 -o  hdfs://master:54310//user/netlog/upload/output4/tfidf-vectors-kmeans-clusters-raghuveer -c  hdfs://master:54310/user/netlog/upload/output4/mahoutoutput -dm org.apache.mahout.common.distance.CosineDistanceMeasure -x 5 -ow -cl -k 25
where mahoutoutput is a new folder.
 

     On Monday, March 9, 2015 11:48 AM, Raghuveer <al...@yahoo.com> wrote:
   

 Hi All,
I am trying to run the following command:
./mahout kmeans -i hdfs://master:54310/user/netlog/upload/output4/tfidf-vectors/part-r-00000 -o  hdfs://master:54310//user/netlog/upload/output4/tfidf-vectors-kmeans-clusters-raghuveer -c  hdfs://master:54310/user/netlog/upload/output4/uscensus-kmeans-centroids -dm org.apache.mahout.common.distance.CosineDistanceMeasure -x 5 -ow -cl -k 25
getting the following exception:
IllegalStateException: No input clusters found in hdfs://master:54310/user/netlog/upload/output4/uscensus-kmeans-centroids/part-randomSeed. Check your -c argument.
kindly suggest.