BTW this is actually not going to work because SVMModel is not serializable.

I had a pull request on this issue. You should update your branch and do the same thing for ClassificationModel.

https://github.com/mesos/spark/pull/723