开发者社区> 问答> 正文

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. [backcolor=transparent]https[backcolor=transparent]:[backcolor=transparent]//emr.aliyuncs.com//?Action=DescribeExecutionPlan
  2. [backcolor=transparent]&[backcolor=transparent]Id[backcolor=transparent]=[backcolor=transparent]WF[backcolor=transparent]-[backcolor=transparent]13A570B821D4BAB3
  3. [backcolor=transparent]&[backcolor=transparent]RegionId[backcolor=transparent]=[backcolor=transparent]cn[backcolor=transparent]-[backcolor=transparent]hangzhou
  4. [backcolor=transparent]&公共请求参数


返回格式


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

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

相关电子书

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