Example from https://runawayhorse001.github.io/LearningApacheSpark/clustering.html caused strange error while I decided to test the clustering example for Spark.
Example: