KNN implemented with Hadoop MapReduce