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