edit-icon download-icon

Describe the execution plan

Last Updated: Mar 29, 2017

Query execution plan details.

Request parameters

Field Type Required? Default Value Description
Id String Yes None Execution plan Id.
RegionId String Yes None The region ID of the execution plan.

Returned parameters

Field Type Description
Id String Execution plan Id.
Name String Execution plan name.
Strategy String The running strategy of the execution plan. RUN_MANUALLY: manual running. The execution plan is run only when user triggers it; SCHEDULE: periodical scheduling. The execution plan is automatically run at specified time.
StartTime Long The time when the periodical scheduling takes effect.
TimeUnit String The time interval for periodical scheduling. DAY: the execution plan is scheduled every day; HOUR: the execution plan is scheduled every hour.
TimeInterval Integer Time interval. If the time unit is DAY: only 1 is allowed; if the time unit is HOUR: a value of 1-23 is allowed.
JobInfoList JobInfo List of associated jobs.
CreateClusterOnDemand Boolean Whether to dynamically create the cluster on demand.
ClusterId String Cluster ID. If CreateClusterOnDemand==false, this value exists. Otherwise, the cluster is created on demand and this value does not exist.
ClusterInfo ClusterInfo Cluster details. If CreateClusterOnDemand==true, this value exists.

Example

Request example

  1. https://emr.aliyuncs.com//?Action=DescribeExecutionPlan
  2. &Id=WF-13A570B821D4BAB3
  3. &RegionId=cn-hangzhou
  4. &Public request parameters

Returned format

JSON format

  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. }
Thank you! We've received your feedback.