Implementation of KMeans on hadoop