Available in VPC
Overview
Get Cloud Hadoop cluster types according to the cluster version.
Request
Request parameters
Parameter name |
Required |
Type |
Restrictions |
Description |
regionCode |
No |
String |
|
Region code- Determine the Region
- regionCode can be obtained through the getRegionList action
- Default: Select the first Region of the getRegionList query result
|
cloudHadoopImageProductCode |
Yes |
String |
|
Cloud Hadoop image product code |
engineVersionCode |
Conditional |
String |
|
Engine version code- Check through getCloudHadoopImageProductList
- Enter only when creating with Rocky cluster, ignore CentOs specs
- If not entered, it is created with the latest version currently available
|
output |
No |
String |
|
Respond result's format type- Options: xml | json
- Default: json
|
Response
Response data type
- CloudHadoopClusterTypeList type
CloudHadoopClusterTypeList extends CommonResponse |
private Integer totalRows; |
private List<CloudHadoopClusterType> cloudHadoopClusterTypeList = new ArrayList<>(); |
CloudHadoopClusterType |
private String code; |
private String codeName; |
Examples
Call
ncloud vhadoop getCloudHadoopClusterTypeList --regionCode KR --cloudHadoopImageProductCode SW.VCHDP.LNX64.CNTOS.0708.HDP.15.B050
Response
<getCloudHadoopClusterTypeListResponse>
<requestId>success</requestId>
<returnCode>0</returnCode>
<cloudHadoopClusterTypeList>
<cloudHadoopClusterType>
<code>CORE_HADOOP_WITH_SPARK</code>
<codeName>Core Hadoop with Spark : HDFS(3.1.1), YARN(3.1.1), Zookeeper(3.4.6), Ranger(1.2.0), HIVE(3.1.0), Hue(4.3.0), Zepplin Notebook(0.8.0), Spark(2.3.2)</codeName>
</cloudHadoopClusterType>
</cloudHadoopClusterTypeList>
</getCloudHadoopClusterTypeListResponse>