K-Means icon indicating copy to clipboard operation
K-Means copied to clipboard

K-Means Clustering using MapReduce

Results 4 K-Means issues
Sort by recently updated
recently updated
newest added

Could you please explain how to execute the program and where to store the centroid.txt and data.txt?

Hi, I was trying to run your code. But I am deliberately getting this error: Exception reading DistribtuedCache: java.io.FileNotFoundException: file:/tmp/hadoop-nkhan/mapred/local/1492189058953/centroid.txt (No such file or directory) Exception in thread "main" java.io.IOException:...

There are some changes in code. Name of string are wrong at some places. After successful compilation, It is showing Exception reading DistribtuedCache: java.io.FileNotFoundException: file:/tmp/hadoop-root/mapred/local/1492503011344/centroid.txt (No such file or directory)...

![image](https://github.com/user-attachments/assets/25082f93-ff6a-4758-a271-5ebbabab019a)