[ https://issues.apache.org/jira/browse/BEAM-918?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15667407#comment-15667407 ]
Jean-Baptiste Onofré commented on BEAM-918: ------------------------------------------- Cool, thanks ! > Let users set STORAGE_LEVEL via SparkPipelineOptions. > ----------------------------------------------------- > > Key: BEAM-918 > URL: https://issues.apache.org/jira/browse/BEAM-918 > Project: Beam > Issue Type: Improvement > Components: runner-spark > Reporter: Amit Sela > Assignee: Jean-Baptiste Onofré > > Spark provides different "STORAGE_LEVEL"s for caching RDDs (disk, memory, > ser/de, etc.). > The runner decides on caching when necessary, for example when a RDD is > accessed repeatedly. > > For batch, we can let users set their preferred STORAGE_LEVEL via > SparkPipelineOptions. > Note: for streaming we force a "MEMORY_ONLY", since (among other things) the > runner heavily relies on stateful operations, and it's natural for streaming > to happen in memory. -- This message was sent by Atlassian JIRA (v6.3.4#6332)