K-Means clustering algorithm for Hadoop