Job list

Last Updated: Mar 29, 2017

Query the job list.

Request parameters

Field Type Required? Default Value Description
RegionId String Yes None The region ID of the job list.
PageNumber Integer Yes None Requested page number, starting from 1.
PageSize Integer Yes None Page size.

Returned parameters

Field Type Description
Jobs Array<Job> Job object array.
TotalCount Integer Total count.
PageNumber Integer Current page number.
PageSize Integer Page size.

Example

Request example

  1. https://emr.aliyuncs.com/?Action=ListJobs
  2. &RegionId=cn-hangzhou
  3. &PageNumber=1
  4. &PageSize=20
  5. &Public request parameters

Returned format

JSON format

  1. {
  2. "requestId": "43B20229-9FDE-434A-A03F-341416030E5C",
  3. "data": {
  4. "Jobs": {
  5. "JobInfo": [
  6. {
  7. "FailAct": "CONTINUE",
  8. "Id": "J-13A570B821D4BAB3",
  9. "Name": "TC-10117553",
  10. "RunParameter": "--master yarn-client --driver-memory 1G --executor-memory 4G --executor-cores 4 --num-executors 10 --class com.aliyun.emr.checklist.benchmark.SPARKWordCount ossref://emr/checklist/jars/emr-checklist_2.10-0.1.0-newhadoop.jar oss://emr/checklist/data/TC/10117548 oss://emr/checklist/data/TC/10117553 128 cn-hangzhou",
  11. "Type": "SPARK"
  12. },
  13. {
  14. "FailAct": "CONTINUE",
  15. "Id": "J-13A570B821D4BAB3",
  16. "Name": "TC-10117555",
  17. "RunParameter": "--master yarn-client --driver-memory 1G --executor-memory 4G --executor-cores 4 --num-executors 10 --class com.aliyun.emr.checklist.benchmark.SPARKWordCount ossref://emr/checklist/jars/emr-checklist_2.10-0.1.0-newhadoop.jar oss://emr/checklist/data/TC/10117549 oss://emr/checklist/data/TC/10117555 128 cn-hangzhou",
  18. "Type": "SPARK"
  19. },
  20. {
  21. "FailAct": "STOP",
  22. "Id": "J-13A570B821D4BAB3",
  23. "Name": "PIG",
  24. "RunParameter": "modifyParamTcV2",
  25. "Type": "PIG"
  26. }
  27. ]
  28. },
  29. "PageNumber": 1,
  30. "PageSize": 10,
  31. "TotalCount": 3
  32. }
  33. }
Thank you! We've received your feedback.