edit-icon download-icon

Modify a job

Last Updated: Mar 30, 2017

Modify a job.

Request parameters

Field Type Required? Default Value Description
Id String Yes None Job ID.
Name String Yes None Job name.
Type String Yes None Job type. HADOOP, HIVE, PIG, and SPARK.
RunParameter String Yes None Job running parameters.
FailAct String Yes None Operation after failures. STOP: stop, CONTINUE: continue the follow-up jobs.
RegionId String Yes None The region ID of the job.

Returned parameter

Public returned parameters.

Example

Request example

  1. https://emr.aliyuncs.com/?Action=ModifyJob
  2. &Id=J-13A570B821D4BAB3
  3. &Name=test
  4. &Type=HIVE
  5. &EnvParam=-f%20ossref://emr/count.sql
  6. &FailAct=STOP
  7. &RegionId=cn-hangzhou
  8. &Public request parameters

Returned format

JSON format

  1. {
  2. "RequestId": "34B08619-2636-49F9-AB4E-CD8D347B1E07"
  3. }
Thank you! We've received your feedback.