Make sample rate a bit larger. 0.4 instead of 0.1.
Make it build well outside spark.mllib.