开发者社区> 问答> 正文

E-MapReduce 如何查询执行计划详情?



DescribeExecutionPlan 查询执行计划详情



请求参数

字段类型是否必须默认值描述
IdString执行计划Id
RegionIdString所在地域


返回参数

字段类型描述
IdString执行计划Id
NameString执行计划名称
StrategyString执行计划的运行策略,RUN_MANUALLY:手动执行,只有当用户主动触发的时候才运行,SCHEDULE:周期调度,设置时间在指定的时间自动运行
StartTimeLong周期调度开始生效的时间
TimeUnitString周期调度的时间间隔,DAY:天为单位调度,HOUR:小时为单位调度
TimeIntervalInteger间隔时间,若时间单位是DAY:只能是1, 若时间单位是HOUR:可以设置1-23
JobInfoListJobInfo关联的作业的列表
CreateClusterOnDemandBoolean是否是按需动态创建集群
ClusterIdString集群Id,若CreateClusterOnDemand==false则有这个值。否则是一个按需创建的集群,无此值
ClusterInfoClusterInfo集群的详情,若CreateClusterOnDemand==true,则有这个值。


示例



请求示例

  1. https://emr.aliyuncs.com//?Action=DescribeExecutionPlan
  2. &Id=WF-13A570B821D4BAB3
  3. &RegionId=cn-hangzhou
  4. &公共请求参数


返回格式


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

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

相关电子书

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