tCacheOut
Persists the input RDDs depending on the specific storage level you define in order
to offer faster access to these datasets later.
tCacheOut writes RDDs (Resilient
Distributed Datasets) to the cache for later use in the same Job.
Depending on the Talend
product you are using, this component can be used in one, some or all of the following
Job frameworks:
-
Spark Batch: see tCacheOut properties for Apache Spark Batch.
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric. -
Spark Streaming: see tCacheOut properties for Apache Spark Streaming.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
tCacheOut properties for Apache Spark Batch
These properties are used to configure tCacheOut running in the Spark Batch Job framework.
The Spark Batch
tCacheOut component belongs to the Processing family.
The component in this framework is available in all subscription-based Talend products with Big Data
and Talend Data Fabric.
Basic settings
Schema and Edit |
A schema is a row description. It defines the number of fields Click Edit
|
 |
Built-In: You create and store the schema locally for this component |
 |
Repository: You have already created the schema and stored it in the |
Storage level |
From the Storage level drop-down list that is displayed, select how the cached RDDs are For further information about each of the storage level, see https://spark.apache.org/docs/latest/programming-guide.html#rdd-persistence. |
Usage
Usage rule |
This component is used as an end component and requires an input link. This component makes datasets persist and is closely related to tCacheIn. Iteratively, tCacheOut stores input This component, along with the Spark Batch component Palette it belongs to, Note that in this documentation, unless otherwise explicitly stated, a |
Spark Connection |
In the Spark
Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |
Related scenarios
For a related scenario, see Performing download analysis using a Spark Batch Job.
tCacheOut properties for Apache Spark Streaming
These properties are used to configure tCacheOut running in the Spark Streaming Job framework.
The Spark Streaming
tCacheOut component belongs to the Processing family.
This component is available in Talend Real Time Big Data Platform and Talend Data Fabric.
Basic settings
Schema and Edit |
A schema is a row description. It defines the number of fields Click Edit
|
 |
Built-In: You create and store the schema locally for this component |
 |
Repository: You have already created the schema and stored it in the |
Storage level |
From the Storage level drop-down list that is displayed, select how the cached RDDs are For further information about each of the storage level, see https://spark.apache.org/docs/latest/programming-guide.html#rdd-persistence. |
Usage
Usage rule |
This component is used as an end component and requires an input link. This component makes datasets persist and is closely related to tCacheIn. Iteratively, tCacheOut stores input At any given moment, tCacheOut stores only one micro-batch in memory. This component, along with the Spark Batch component Palette it belongs to, Note that in this documentation, unless otherwise explicitly stated, a |
Spark Connection |
In the Spark
Configuration tab in the Run view, define the connection to a given Spark cluster for the whole Job. In addition, since the Job expects its dependent jar files for execution, you must specify the directory in the file system to which these jar files are transferred so that Spark can access these files:
This connection is effective on a per-Job basis. |
Related scenarios
No scenario is available for the Spark Streaming version of this component
yet.