Github user dszeto commented on the issue:
https://github.com/apache/predictionio/pull/471
Just stumbled upon
https://github.com/apache/predictionio/blob/develop/data/src/main/spark-1/org/apache/predictionio/data/SparkVersionDependent.scala.
We probably should clean this up as well.---
