Call the SubmitFlowJob interface to submit a running job, allowing only one running instance at a time.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes SubmitFlowJob

The operation that you want to perform. This parameter is required for API requests initiated by piecing together HTTP or HTTPS URLs. Set the value to SubmitFlowJob.

ClusterId String Yes C-F32FB31D8295****

The ID of the cluster. You can call ListClusters View the ID of the cluster.

JobId String Yes FJ-1A2FB31D8295****

The ID of the job. You can call ListFlowJob View the job ID.

ProjectId String Yes FP-3535FE0BE5228***

The ID of the project. You can call ListFlowProject View the ID of the project.

RegionId String Yes cn-hangzhou

The region ID of the cloud desktop. You can call DescribeRegions View the latest list of Alibaba Cloud regions.

JobInstanceId String No FJI-9DDAAA3ADA5F****

The ID of the node instance. You can call ListFlowNodeInstance View the node instance ID.

HostName String No emr-header-1.cluster-12345

The hostname of the server where the workflow runs. You can log on to the master node to execute hostname command to view the corresponding value.

Namespace String No default

The namespace of K8s used when EMR clusters on ACK.

Conf String No {"key":"value"}

The configuration parameters of the job, for example, {"key1":"value1"}. key For params The parameter value of overwrites what is run in the actual job.

Response parameters

Parameter Type Example Description
Id String FJI-9DDAAA3ADA5F****

The ID of the job instance.

RequestId String B46F8A2A-B46B-415C-8A9C-B01B99B775A2

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=SubmitFlowJob
&ClusterId=C-F32FB31D8295****
&JobId=FJ-1A2FB31D8295****
&ProjectId=FP-3535FE0BE522****
&RegionId=cn-hangzhou
&<common request parameters>

Sample success responses

XML format

<RequestId>B46F8A2A-B46B-415C-8A9C-B01B99B775A2</RequestId>
<Id>FJI-9DDAAA3ADA5F****</Id>

JSON Format

{
    "RequestId": "B46F8A2A-B46B-415C-8A9C-B01B99B775A2",
    "Id": "FJI-9DDAAA3ADA5F****"
}