You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Amit Sela (JIRA)" <ji...@apache.org> on 2016/11/05 08:51:58 UTC

[jira] [Created] (BEAM-918) Let users set STORAGE_LEVEL via SparkPipelineOptions.

Amit Sela created BEAM-918:
------------------------------

             Summary: 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: Amit Sela


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)