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 -

windows - How to automate a file conversion xwm to mp3 with xwmaencode.exe using bat file -