Available in VPC
Get the list of add-on components that can be installed additionally in Cloud Hadoop.
Syntax
The getCloudHadoopAddOnList syntax is as follows:
./ncloud vhadoop getCloudHadoopAddOnList \
--cloudHadoopImageProductCode <image-product-code> \
--cloudHadoopClusterTypeCode <cluster-type-code> \
[--engineVersionCode <engine-version-code>] \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running getCloudHadoopAddOnList.
Required options
The following options are required for getCloudHadoopAddOnList.
| Options | Type | Required | Description |
|---|---|---|---|
--cloudHadoopImageProductCode |
String | Required | Cluster image code
|
--cloudHadoopClusterTypeCode |
String | Required | Cluster type code |
Optional options
These are the optional options for getCloudHadoopAddOnList. Options that are not specified will use their default values.
| Options | Type | Required | Description |
|---|---|---|---|
--engineVersionCode |
String | Optional | Engine version code
|
Common options
For information about the options common to all vhadoop subcommands, see Cloud Hadoop (VPC) options.
Examples
If the request to retrieve the list of Cloud Hadoop add-on components is successful, the identification information for each component is returned.
Command
The command example is as follows:
./ncloud vhadoop getCloudHadoopAddOnList \
--cloudHadoopImageProductCode SW.VCHDP.OS.LNX64.ROCKY.0810.HDP.B050 \
--cloudHadoopClusterTypeCode CORE_HADOOP_WITH_SPARK \
--engineVersionCode HADOOP2.2 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"getCloudHadoopAddOnListResponse": {
"cloudHadoopAddOnList": [
{
"code": "HBASE (2.2.6)",
"codeName": "HBASE"
},
{
"code": "Impala(4.1.0)",
"codeName": "IMPALA"
},
{
"code": "KUDU(1.16.0)",
"codeName": "KUDU"
},
{
"code": "TRINO(405)",
"codeName": "TRINO"
},
{
"code": "NIFI(1.23.2)",
"codeName": "NIFI"
}
],
"requestId": "d4e5f607-b8c9-a123-def0-456789a12345",
"returnCode": "0",
"returnMessage": "success"
}
}