Component-specific settings - 6.5

Talendジョブスクリプトリファレンス

author
Talend Documentation Team
EnrichVersion
6.5
EnrichProdName
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
task
ジョブデザインと開発 > ジョブデザイン
EnrichPlatform
Talend CommandLine
Talend Studio

The following table describes the Job script functions and parameters that you can define in the setSettings {} function of the component.

Function/parameter Description Mandatory?

DEFINE_STORAGE_ CONFIGURATION

Set this parameter to true to provide the configuration information for the connection to the target file system such as HDFS.

If set this parameter to false, the target file system is the local system.

Note that the configuration component to be used must be present in the same Job.

For example, if a tHDFSConfiguration component is present in the Job, you can select it to write the result in the specified HDFS system.

By default, this parameter is set to true.

Note:

This parameter works only in a Spark Batch or Spark Streaming Job.

Yes for a Spark Batch/Streaming Job

FILENAME

Type in the path pointing to the data to be used in the file system.

Yes

FILE_ACTION

Type in an operation for writing data. Acceptable values:

  • CREATE: Create a file and write data in it. This is the default action.
  • OVERWRITE: Overwrites the file existing in the directory specified using the FILENAME parameter.

No

COMPRESSION

Type in an output compression option.

  • UNCOMPRESSED: Do not compress the output. This is the default option.
  • GZIP: Enable Gzip compression on the output.
  • SNAPPY: Enable Snappy compression on the output.

No