I know through spark-mllib we can save naive bayes model to hdfs by save() method . But we I try with spark-ml naive bayes to save into hdfs then it giving error . Wrong FS: hdfs://localhost:8020/pa/model/nb, expected: file:///
I am using spark-1.6.0 and hadoop 2.7 .