Defining Job properties in a Job script - 6.5

Talend Job Script Reference Guide

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
Design and Development > Designing Jobs
EnrichPlatform
Talend CommandLine
Talend Studio

Unless you are creating a standard Talend Job without any context parameters in a Job script, you need first to define your Job type and context parameters.

Attention:

To create a Big Data Job, you need to subscribe to the relevant Big Data capable Talend product.

Job properties

Function/parameter Description Mandatory?
JobType

Specify the type of the Job. Acceptable values:

  • Standard
  • Big_Data_Batch
  • Big_Data_Streaming

You can skip this parameter if you are creating a standard Job.

Yes for Big Data Jobs

Framework

Specify a Big Data framework. Acceptable values:

  • For a Big Data Batch Job:
    • MapReduce
    • Spark
  • For a Big Data Streaming Job:
    • Storm
    • Spark_Streaming

Skip this parameter if you are creating a standard Job.

Yes for Big Data Jobs

DEFAULT_CONTEXT

Specify the default context.

For more information, see Defining contexts and variables in a Job script.

No

ContextType {}

Define a context and its parameters.

For more information, see Defining contexts and variables in a Job script.

No

Example

The following Job script example shows how to define a Big Data Spark Batch Job to run on the Spark framework.

JobType= Big_Data_Batch,
Framework= Spark,