开发者社区> 问答> 正文

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



ListJobExecutionInstances 查询作业实例列表



请求参数

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


返回参数

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


示例



请求示例

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


返回格式


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

展开
收起
nicenelly 2017-10-30 17:07:40 1767 0
0 条回答
写回答
取消 提交回答
问答排行榜
最热
最新

相关电子书

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