if you are using Spark 1.6 you could use the Spark Java Snippet Sink node to creat at least for a binary logistic regression model the pmml model using the Spark PMML model export function. You could write the file to HDFS and then retrieve it from their. However this function does not support the Decission Tree model: I guess the Spark Decission Tree model isn't compatible with the PMML spceification.
you are right…Spark Decission Tree model isn’t compatible with the PMML spceification.
So , is there any solution by now for converting it in PMML or can say for reading it?