getCloudHadoopClusterTypeList

Prev Next

Available in VPC

Get the types of clusters available for use in Cloud Hadoop.

Syntax

The getCloudHadoopClusterTypeList syntax is as follows:

./ncloud vhadoop getCloudHadoopClusterTypeList \
    --cloudHadoopImageProductCode <image-product-code> \
    [--engineVersionCode <engine-version-code>] \
    [--regionCode <KR|SGN|JPN>] \
    [--output <json|xml>]

Options

This section describes the options available when running getCloudHadoopClusterTypeList.

Required options

The following options are required for getCloudHadoopClusterTypeList.

Options Type Required Description
--cloudHadoopImageProductCode String Required Cluster image code

Optional options

These are the optional options for getCloudHadoopClusterTypeList. 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 cluster types is successful, the configuration information for each cluster type is returned.

Command

The command example is as follows:

./ncloud vhadoop getCloudHadoopClusterTypeList \
    --cloudHadoopImageProductCode SW.VCHDP.OS.LNX64.ROCKY.0810.HDP.B050 \
    --engineVersionCode HADOOP2.2 \
    --regionCode KR \
    --output json

Output

The output example is as follows:

{
  "getCloudHadoopClusterTypeListResponse": {
    "cloudHadoopClusterTypeList": [
      {
        "code": "CORE_HADOOP_WITH_SPARK",
        "codeName": "Core Hadoop with Spark : HDFS(3.1.1), YARN(3.1.1), Zookeeper(3.4.9), Ranger(2.0.0), HIVE(3.1.2), Hue(4.8.0), Zeppelin Notebook(0.11.2), Spark (2.4.8)"
      }
    ],
    "requestId": "c3d4e5f6-a7b8-9012-cdef-345678901234",
    "returnCode": "0",
    "returnMessage": "success"
  }
}