I got answer from mail posted to ML.

--- Summary ---
cache() is lazy, so you can use `RDD.count()` explicitly to load into
memory.
---------------

And I tried, two RDDs were cached and the speed became faster.

Thank you.



--
View this message in context: 
http://apache-spark-user-list.1001560.n3.nabble.com/Can-t-cache-RDD-of-collaborative-filtering-on-MLlib-tp21962p22000.html
Sent from the Apache Spark User List mailing list archive at Nabble.com.

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

Reply via email to