A distributed implementation of k-means algorithm using Hadoop