Describe the cluster

Last Updated: Mar 30, 2017

Describe the cluster details.

Request parameters

Field Type Required? Default Value Description
Id String Yes None Cluster Id.
RegionId String Yes None The region Id of the cluster.

Returned parameters

Field Type Description
ClusterInfo ClusterInfo Cluster details information object.

Example

Request example

  1. https://emr.aliyuncs.com/?Action=DescribeCluster
  2. &Id=500003771
  3. &PageSize=50
  4. &PageNumber=1
  5. &RegionId=cn-hangzhou
  6. &Public request parameters

Returned format

JSON format

  1. {
  2. "ClusterInfo": {
  3. "SecurityGroupId": "sg-23k4ef52r",
  4. "ImageId": "m-23jgud468",
  5. "MasterNodeInService": 1,
  6. "LogEnable": true,
  7. "SoftwareInfo": {
  8. "Softwares": {
  9. "Software": [
  10. {
  11. "Name": "hive",
  12. "OnlyDisplay": false,
  13. "Version": "1.0.1",
  14. "DisplayName": "hive",
  15. "StartTpe": 0
  16. },
  17. {
  18. "Name": "ganglia",
  19. "OnlyDisplay": false,
  20. "Version": "3.7.2",
  21. "DisplayName": "ganglia",
  22. "StartTpe": 2
  23. },
  24. {
  25. "Name": "spark",
  26. "OnlyDisplay": false,
  27. "Version": "1.4.1",
  28. "DisplayName": "spark",
  29. "StartTpe": 0
  30. },
  31. {
  32. "Name": "yarn",
  33. "OnlyDisplay": false,
  34. "Version": "2.6.0",
  35. "DisplayName": "hadoop",
  36. "StartTpe": 1
  37. },
  38. {
  39. "Name": "pig",
  40. "OnlyDisplay": false,
  41. "Version": "0.14.0",
  42. "DisplayName": "pig",
  43. "StartTpe": 0
  44. }
  45. ]
  46. },
  47. "EmrVer": "EMR 1.0.0",
  48. "ClusterType": "HADOOP"
  49. },
  50. "CoreNodeInService": 2,
  51. "CreateType": "MANUAL",
  52. "TaskNodeTotal": 0,
  53. "Name": "ct-test",
  54. "TaskNodeInService": 0,
  55. "Status": "IDLE",
  56. "SecurityGroupName": "testnomalgroup",
  57. "CoreNodeTotal": 2,
  58. "LogPath": "oss://emr/chengtao",
  59. "RegionId": "cn-hangzhou",
  60. "EcsOrderInfoList": {
  61. "EcsOrderInfo": [
  62. {
  63. "BandWidth": "8M",
  64. "NodeType": "MASTER",
  65. "MemoryCapacity": 8,
  66. "Nodes": {
  67. "Node": [
  68. {
  69. "Status": "NORMAL",
  70. "InnerIp": "10.47.109.52",
  71. "InstanceId": "i-23k09bd1z",
  72. "PubIp": "120.27.154.42",
  73. "ZoneId": "cn-hangzhou-b",
  74. "DiskInfos": {
  75. "DiskInfo": [
  76. {
  77. "Device": "/dev/xvdb",
  78. "Type": "DATA",
  79. "DiskId": "d-23tf205ba",
  80. "Size": 80
  81. },
  82. {
  83. "Device": "/dev/xvda",
  84. "Type": "SYSTEM",
  85. "DiskId": "d-23nivb18v",
  86. "Size": 40
  87. }
  88. ]
  89. }
  90. }
  91. ]
  92. },
  93. "DiskCapacity": 80,
  94. "CpuCore": 4,
  95. "DiskType": "CLOUD_EFFICIENCY",
  96. "InstanceType": "ecs.n1.large"
  97. },
  98. {
  99. "NodeType": "CORE",
  100. "MemoryCapacity": 8,
  101. "Nodes": {
  102. "Node": [
  103. {
  104. "Status": "NORMAL",
  105. "InnerIp": "10.45.54.184",
  106. "InstanceId": "i-232an047i",
  107. "PubIp": "--",
  108. "ZoneId": "cn-hangzhou-b",
  109. "DiskInfos": {
  110. "DiskInfo": [
  111. {
  112. "Device": "/dev/xvde",
  113. "Type": "DATA",
  114. "DiskId": "d-23nblu83j",
  115. "Size": 20
  116. },
  117. {
  118. "Device": "/dev/xvdd",
  119. "Type": "DATA",
  120. "DiskId": "d-237fbizzt",
  121. "Size": 20
  122. },
  123. {
  124. "Device": "/dev/xvdc",
  125. "Type": "DATA",
  126. "DiskId": "d-237b485gr",
  127. "Size": 20
  128. },
  129. {
  130. "Device": "/dev/xvdb",
  131. "Type": "DATA",
  132. "DiskId": "d-236t8diwt",
  133. "Size": 20
  134. },
  135. {
  136. "Device": "/dev/xvda",
  137. "Type": "SYSTEM",
  138. "DiskId": "d-23uedind2",
  139. "Size": 40
  140. }
  141. ]
  142. }
  143. },
  144. {
  145. "Status": "NORMAL",
  146. "InnerIp": "10.24.34.249",
  147. "InstanceId": "i-23yb4in7f",
  148. "PubIp": "--",
  149. "ZoneId": "cn-hangzhou-b",
  150. "DiskInfos": {
  151. "DiskInfo": [
  152. {
  153. "Device": "/dev/xvde",
  154. "Type": "DATA",
  155. "DiskId": "d-23prb086b",
  156. "Size": 20
  157. },
  158. {
  159. "Device": "/dev/xvdd",
  160. "Type": "DATA",
  161. "DiskId": "d-23qnz0te9",
  162. "Size": 20
  163. },
  164. {
  165. "Device": "/dev/xvdc",
  166. "Type": "DATA",
  167. "DiskId": "d-23cqlftct",
  168. "Size": 20
  169. },
  170. {
  171. "Device": "/dev/xvdb",
  172. "Type": "DATA",
  173. "DiskId": "d-23u8crtmb",
  174. "Size": 20
  175. },
  176. {
  177. "Device": "/dev/xvda",
  178. "Type": "SYSTEM",
  179. "DiskId": "d-2316q3q3b",
  180. "Size": 40
  181. }
  182. ]
  183. }
  184. }
  185. ]
  186. },
  187. "DiskCapacity": 80,
  188. "CpuCore": 4,
  189. "DiskType": "CLOUD_EFFICIENCY",
  190. "InstanceType": "ecs.n1.large"
  191. }
  192. ]
  193. },
  194. "RunningTime": 263586,
  195. "Id": "16930",
  196. "StartTime": 1458889373000,
  197. "MasterNodeTotal": 1
  198. },
  199. "RequestId": "578AEF13-F07F-40D7-9EAB-B4AF2FD3F8B8"
  200. }
Thank you! We've received your feedback.