Knn is a popular Machine lEarning Algorithm. To be able to execute it distirbutedly the following program has been written using Apache Spark and Scala .
It was desinged to run under Local Host , to be able to run in cluster the spark Context has to be modified