apache spark - What is the difference between cache and persist? -
in terms of rdd
persistence, differences between cache()
, persist()
in spark ?
with cache()
, use default storage level memory_only
. persist()
, can specify storage level want,(rdd-persistence).
use persist()
if want assign storage level memory_only
rdd
(which storage level choose)
Comments
Post a Comment