Updated on 2022-07-11 GMT+08:00

job.properties

Function

job.properties is a workflow property file that defines external parameters used for workflow execution.

Parameter Description

Table 1 describes parameters in job.properties.

Table 1 Parameters

Parameter

Meaning

nameNode

Indicates the Hadoop distributed file system (HDFS) NameNode cluster address.

resourceManager

Indicates the Yarn ResourceManager address.

queueName

Identifies the MapReduce queue where a workflow job is executed.

dataLoadRoot

Identifies the folder where the workflow job resides.

oozie.coord.application.path

Indicates the storage path of a Coordinator job in the HDFS.

start

Indicates the time when a scheduled workflow job is started.

end

Indicates the time when a scheduled workflow job is stopped.

workflowAppUri

Indicates the storage path of a workflow job in the HDFS.

You can define parameters in the key=value format based on service requirements.

Example Codes

nameNode=hdfs://hacluster

resourceManager=10.1.130.10:26004
queueName=QueueA
dataLoadRoot=examples

oozie.coord.application.path=${nameNode}/user/oozie_cli/${dataLoadRoot}/apps/dataLoad
start=2013-04-02T00:00Z
end=2014-04-02T00:00Z
workflowAppUri=${nameNode}/user/oozie_cli/${dataLoadRoot}/apps/dataLoad