spark-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Hafner <reactorm...@gmail.com>
Subject Fwd: Where does mllib's .save method save a model to?
Date Tue, 03 Nov 2015 19:41:35 GMT
2015-11-03 20:26 GMT+01:00 xenocyon <apumishra.rr@gmail.com>:
> I want to save an mllib model to disk, and am trying the model.save
> operation as described in
> http://spark.apache.org/docs/latest/mllib-collaborative-filtering.html#examples:
>
> model.save(sc, "myModelPath")
>
> But after running it, I am unable to find any newly created file or
> dir by the name "myModelPath" in any obvious places. Any ideas where
> it might lie?
In the hdfs configured by your spark instance. If you want to store it
in your local file system, use

    file:///path/to/model

instead.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@spark.apache.org
For additional commands, e-mail: user-help@spark.apache.org


Mime
View raw message