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) -

javascript - angular ng-required radio button not toggling required off in firefox 33, OK in chrome -

xcode - Swift Playground - Files are not readable -