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

Popular posts from this blog

c++ - QTextObjectInterface with Qml TextEdit (QQuickTextEdit) -

xcode - Swift Playground - Files are not readable -

jboss7.x - JBoss AS 7.3 vs 7.4 and differences -