You can call this operation to modify a job.

Request parameters

Field Type Required Default value Description
Id String Yes None The ID of the job.
Name String Yes None The name of the job.
Type String Yes None The type of the job. Valid values: HADOOP, HIVE, PIG, SPARK, SQOOP, SPARK_SQL, and SHELL.
RunParameter String Yes None The parameter of the job.
FailAct String Yes None The action to take after failure. STOP: Stops modifying the job. CONTINUE: Continues modifying the subsequent jobs.
RegionId String Yes None

Response parameters

Common response parameters

Examples

  • Sample requests
    https://emr.aliyuncs.com/?Action=ModifyJob
    &Id=J-13A570B821D4BAB3
    &Name=test
    &Type=HIVE
    &EnvParam=-f%20ossref://emr/count.sql
    &FailAct=STOP
    &RegionId=cn-hangzhou
    &Common request parameters
  • Sample responses
    JSON format
    {
        "RequestId": "34B08619-2636-49F9-AB4E-CD8D347B1E07"
    }