开发者社区> 问答> 正文

E-MapReduce 如何查询作业实例列表?



ListJobExecutionInstances 查询作业实例列表



请求参数

字段类型是否必须默认值描述
RegionIdString
ExecutionPlanInstanceIdString执行计划实例Id
pageNumberInteger1请求页码
pageSizeInteger10请求的每页数量


返回参数

字段类型描述
JobInstancesArray<JobInstance>作业实例的信息
TotalCountInteger总数量
PageNumberInteger当前页码
PageSizeInteger请求每页数量


示例



请求示例

  1. [backcolor=transparent]https[backcolor=transparent]:[backcolor=transparent]//emr.aliyuncs.com/?Action=ListJobExecutionInstances
  2. [backcolor=transparent]&[backcolor=transparent]ExecutionPlanInstanceId[backcolor=transparent]=[backcolor=transparent]500006685
  3. [backcolor=transparent]&[backcolor=transparent]PageSize[backcolor=transparent]=[backcolor=transparent]100
  4. [backcolor=transparent]&[backcolor=transparent]PageNumber[backcolor=transparent]=[backcolor=transparent]1
  5. [backcolor=transparent]&[backcolor=transparent]RegionId[backcolor=transparent]=[backcolor=transparent]cn[backcolor=transparent]-[backcolor=transparent]hangzhou
  6. [backcolor=transparent]&公共请求参数


返回格式


JSON 格式
  1. [backcolor=transparent]{
  2. [backcolor=transparent]    [backcolor=transparent]"code"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"200"[backcolor=transparent],
  3. [backcolor=transparent]    [backcolor=transparent]"data"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
  4. [backcolor=transparent]        [backcolor=transparent]"ClusterInfo"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
  5. [backcolor=transparent]            [backcolor=transparent]"EcsOrders"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
  6. [backcolor=transparent]                [backcolor=transparent]"EcsOrderInfo"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent][
  7. [backcolor=transparent]                    [backcolor=transparent]{
  8. [backcolor=transparent]                        [backcolor=transparent]"DiskCapacity"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]40[backcolor=transparent],
  9. [backcolor=transparent]                        [backcolor=transparent]"DiskType"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"CLOUD_EFFICIENCY"[backcolor=transparent],
  10. [backcolor=transparent]                        [backcolor=transparent]"Index"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]0[backcolor=transparent],
  11. [backcolor=transparent]                        [backcolor=transparent]"InstanceType"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"ecs.s3.large"[backcolor=transparent],
  12. [backcolor=transparent]                        [backcolor=transparent]"NodeCount"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]2
  13. [backcolor=transparent]                    [backcolor=transparent]}
  14. [backcolor=transparent]                [backcolor=transparent]]
  15. [backcolor=transparent]            [backcolor=transparent]},
  16. [backcolor=transparent]            [backcolor=transparent]"LogEnable"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]true[backcolor=transparent],
  17. [backcolor=transparent]            [backcolor=transparent]"LogPath"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"oss://genmao"[backcolor=transparent],
  18. [backcolor=transparent]            [backcolor=transparent]"Name"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"Cluster_OnDemandWithHourSchedual"[backcolor=transparent],
  19. [backcolor=transparent]            [backcolor=transparent]"SecurityGroupId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"sg-23qrote7p"[backcolor=transparent],
  20. [backcolor=transparent]            [backcolor=transparent]"vpcId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"xxx"[backcolor=transparent],
  21. [backcolor=transparent]            [backcolor=transparent]"vSwitchId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"yy"[backcolor=transparent],
  22. [backcolor=transparent]            [backcolor=transparent]"isVpc"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]true[backcolor=transparent],
  23. [backcolor=transparent]            [backcolor=transparent]"SoftwareInfo"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
  24. [backcolor=transparent]                [backcolor=transparent]"ClusterType"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"HADOOP"[backcolor=transparent],
  25. [backcolor=transparent]                [backcolor=transparent]"EmrVer"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"EMR 1.0.0_pre"[backcolor=transparent],
  26. [backcolor=transparent]                [backcolor=transparent]"Softwares"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
  27. [backcolor=transparent]                    [backcolor=transparent]"Software"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent][]
  28. [backcolor=transparent]                [backcolor=transparent]}
  29. [backcolor=transparent]            [backcolor=transparent]},
  30. [backcolor=transparent]            [backcolor=transparent]"ZoneId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"cn-hangzhou-b"
  31. [backcolor=transparent]        [backcolor=transparent]},
  32. [backcolor=transparent]        [backcolor=transparent]"CreateClusterOnDemand"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]true[backcolor=transparent],
  33. [backcolor=transparent]        [backcolor=transparent]"Id"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"2576"[backcolor=transparent],
  34. [backcolor=transparent]        [backcolor=transparent]"JobInfoList"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]{
  35. [backcolor=transparent]            [backcolor=transparent]"JobInfo"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent][
  36. [backcolor=transparent]                [backcolor=transparent]{
  37. [backcolor=transparent]                    [backcolor=transparent]"Id"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"786"
  38. [backcolor=transparent]                [backcolor=transparent]},
  39. [backcolor=transparent]                [backcolor=transparent]{
  40. [backcolor=transparent]                    [backcolor=transparent]"Id"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"504"
  41. [backcolor=transparent]                [backcolor=transparent]},
  42. [backcolor=transparent]                [backcolor=transparent]{
  43. [backcolor=transparent]                    [backcolor=transparent]"Id"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"803"
  44. [backcolor=transparent]                [backcolor=transparent]},
  45. [backcolor=transparent]                [backcolor=transparent]{
  46. [backcolor=transparent]                    [backcolor=transparent]"Id"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"786"
  47. [backcolor=transparent]                [backcolor=transparent]}
  48. [backcolor=transparent]            [backcolor=transparent]]
  49. [backcolor=transparent]        [backcolor=transparent]},
  50. [backcolor=transparent]        [backcolor=transparent]"Name"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"EP_onDemandWithHourSchedual"[backcolor=transparent],
  51. [backcolor=transparent]        [backcolor=transparent]"RequestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"EAE2E906-BE5F-4028-AB09-9F01FE9983C3"[backcolor=transparent],
  52. [backcolor=transparent]        [backcolor=transparent]"StartTime"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]1454585142000[backcolor=transparent],
  53. [backcolor=transparent]        [backcolor=transparent]"Strategy"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"SCHEDULE"[backcolor=transparent],
  54. [backcolor=transparent]        [backcolor=transparent]"TimeInterval"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]1[backcolor=transparent],
  55. [backcolor=transparent]        [backcolor=transparent]"TimeUnit"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"HOUR"
  56. [backcolor=transparent]    [backcolor=transparent]},
  57. [backcolor=transparent]    [backcolor=transparent]"requestId"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]"EAE2E906-BE5F-4028-AB09-9F01FE9983C3"[backcolor=transparent],
  58. [backcolor=transparent]    [backcolor=transparent]"successResponse"[backcolor=transparent]:[backcolor=transparent] [backcolor=transparent]true
  59. [backcolor=transparent]}

展开
收起
nicenelly 2017-10-27 16:45:23 2218 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

更多
阿里云E-MapReduce 立即下载
大数据解决方案构建详解 以阿里云E-MapReduce为例 立即下载
\"Hadoop的过去现在和未来——从阿里云梯到E-MapReduce \" 立即下载