spark knn code commit