Text this: Distributed K-Means algorithm based on a Spark optimization sample.