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

Java

Java APIs are provided by org.apache.oozie.client.OozieClient.

Table 1 API

Item

Description

public String run(Properties conf)

Runs a job.

public void start(String jobId)

Starts the specified job.

public String submit(Properties conf)

Submits a job.

public void kill(String jobId)

Delete the specified job.

public void suspend(String jobId)

Suspends the specified job.

public void resume(String jobId)

Resumes the specified job.

public WorkflowJob getJobInfo(String jobId)

Obtains job information.