E-MapReduce 如何查询作业列表?
ListJobs 查询作业列表
请求参数
返回参数
示例
请求示例
- https://emr.aliyuncs.com/?Action=ListJobs
- &RegionId=cn-hangzhou
- &PageNumber=1
- &PageSize=20
- &公共请求参数
返回格式
JSON 格式
- {
- "requestId": "43B20229-9FDE-434A-A03F-341416030E5C",
- "data": {
- "Jobs": {
- "JobInfo": [
- {
- "FailAct": "CONTINUE",
- "Id": "J-13A570B821D4BAB3",
- "Name": "TC-10117553",
- "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",
- "Type": "SPARK"
- },
- {
- "FailAct": "CONTINUE",
- "Id": "J-13A570B821D4BAB3",
- "Name": "TC-10117555",
- "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",
- "Type": "SPARK"
- },
- {
- "FailAct": "STOP",
- "Id": "J-13A570B821D4BAB3",
- "Name": "PIG",
- "RunParameter": "modifyParamTcV2",
- "Type": "PIG"
- }
- ]
- },
- "PageNumber": 1,
- "PageSize": 10,
- "TotalCount": 3
- }
- }
收起
0
条回答
写回答
取消
提交回答