Performing the k-means clustering using MapReduce with Hadoop.