Available in VPC
Change the number of worker nodes in a Cloud Hadoop cluster.
Syntax
The changeCloudHadoopNodeCount syntax is as follows:
./ncloud vhadoop changeCloudHadoopNodeCount \
--cloudHadoopInstanceNo <cloud-hadoop-instance-no> \
--workerNodeCount <worker-node-count> \
[--regionCode <KR|SGN|JPN>] \
[--output <json|xml>]
Options
This section describes the options available when running changeCloudHadoopNodeCount.
Required options
The following options are required for changeCloudHadoopNodeCount.
| Options | Type | Required | Description |
|---|---|---|---|
--cloudHadoopInstanceNo |
String | Required | Cluster instance number |
--workerNodeCount |
Integer | Required | Number of worker nodes
|
Common options
For information about the options common to all vhadoop subcommands, see Cloud Hadoop (VPC) options.
Examples
If the request to change the number of Cloud Hadoop worker nodes is successful, the cluster's configuration information and the status of the change are returned.
Command
The command example is as follows:
./ncloud vhadoop changeCloudHadoopNodeCount \
--cloudHadoopInstanceNo 34567890 \
--workerNodeCount 3 \
--regionCode KR \
--output json
Output
The output example is as follows:
{
"changeCloudHadoopNodeCountResponse": {
"totalRows": 1,
"cloudHadoopInstanceList": [
{
"cloudHadoopInstanceNo": "34567890",
"cloudHadoopClusterName": "cluster-01",
"cloudHadoopInstanceStatusName": "settingUp",
"cloudHadoopInstanceStatus": {
"code": "CREAT",
"codeName": "CLOUD DATABASE (VPC) Created status"
},
"cloudHadoopInstanceOperation": {
"code": "SETUP",
"codeName": "CLOUD DATABASE(VPC) Setup OP"
},
"cloudHadoopClusterType": {
"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)"
},
"cloudHadoopVersion": {
"code": "HADOOP2.2",
"codeName": "Cloud Hadoop 2.2"
},
"cloudHadoopAddOnList": [],
"ambariServerHost": "e-001-cluster-01-9d5z-hd",
"clusterDirectAccessAccount": "sshuser",
"loginKey": "test-key",
"objectStorageBucket": "my-test-bucket",
"cloudHadoopImageProductCode": "SW.VCHDP.OS.LNX64.ROCKY.0810.HDP.B050",
"isHa": true,
"createDate": "2026-07-06T13:58:52+0900",
"domain": "pub-a1b2c3.hadoop.ntruss.com",
"useDataCatalog": false,
"accessControlGroupNoList": [
"67890123"
],
"cloudHadoopServerInstanceList": [
{
"cloudHadoopServerInstanceNo": "45678901",
"cloudHadoopServerName": "e-001-cluster-01-9d5z-hd",
"cloudHadoopServerRole": {
"code": "E",
"codeName": "Edge Node"
},
"cloudHadoopServerInstanceStatusName": "running",
"cloudHadoopServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE (VPC) server Running status"
},
"cloudHadoopServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE (VPC) server null OP"
},
"cloudHadoopProductCode": "SVR.VCHDP.EDGND.STAND.C004.M016.NET.HDD.B050.G002",
"regionCode": "KR",
"zoneCode": "KR-2",
"vpcNo": "12345678",
"vpcName": "vpc-01",
"subnetNo": "23456789",
"subnetName": "public-subnet",
"privateIp": "10.0.1.6",
"isPublicSubnet": true,
"dataStorageSize": 107374182400,
"cpuCount": 4,
"memorySize": 17179869184,
"uptime": "2026-07-06T14:04:41+0900",
"createDate": "2026-07-06T13:58:52+0900"
},
{
"cloudHadoopServerInstanceNo": "45678902",
"cloudHadoopServerName": "m-001-cluster-01-9d5x-hd",
"cloudHadoopServerRole": {
"code": "M",
"codeName": "Master Node"
},
"cloudHadoopServerInstanceStatusName": "running",
"cloudHadoopServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE (VPC) server Running status"
},
"cloudHadoopServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE (VPC) server null OP"
},
"cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G002",
"regionCode": "KR",
"zoneCode": "KR-2",
"vpcNo": "12345678",
"vpcName": "vpc-01",
"subnetNo": "23456790",
"subnetName": "private-subnet",
"privateIp": "10.0.2.6",
"isPublicSubnet": false,
"dataStorageType": {
"code": "SSD",
"codeName": "SSD"
},
"dataStorageSize": 107374182400,
"cpuCount": 4,
"memorySize": 17179869184,
"uptime": "2026-07-06T14:04:20+0900",
"createDate": "2026-07-06T13:58:52+0900"
},
{
"cloudHadoopServerInstanceNo": "45678903",
"cloudHadoopServerName": "m-002-cluster-01-9d5y-hd",
"cloudHadoopServerRole": {
"code": "M",
"codeName": "Master Node"
},
"cloudHadoopServerInstanceStatusName": "running",
"cloudHadoopServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE (VPC) server Running status"
},
"cloudHadoopServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE (VPC) server null OP"
},
"cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G002",
"regionCode": "KR",
"zoneCode": "KR-2",
"vpcNo": "12345678",
"vpcName": "vpc-01",
"subnetNo": "23456790",
"subnetName": "private-subnet",
"privateIp": "10.0.2.7",
"isPublicSubnet": false,
"dataStorageType": {
"code": "SSD",
"codeName": "SSD"
},
"dataStorageSize": 107374182400,
"cpuCount": 4,
"memorySize": 17179869184,
"uptime": "2026-07-06T14:04:47+0900",
"createDate": "2026-07-06T13:58:52+0900"
},
{
"cloudHadoopServerInstanceNo": "45678904",
"cloudHadoopServerName": "d-001-cluster-01-9d60-hd",
"cloudHadoopServerRole": {
"code": "D",
"codeName": "Data Node"
},
"cloudHadoopServerInstanceStatusName": "running",
"cloudHadoopServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE (VPC) server Running status"
},
"cloudHadoopServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE (VPC) server null OP"
},
"cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G002",
"regionCode": "KR",
"zoneCode": "KR-2",
"vpcNo": "12345678",
"vpcName": "vpc-01",
"subnetNo": "23456790",
"subnetName": "private-subnet",
"privateIp": "10.0.2.8",
"isPublicSubnet": false,
"dataStorageType": {
"code": "SSD",
"codeName": "SSD"
},
"dataStorageSize": 107374182400,
"cpuCount": 4,
"memorySize": 17179869184,
"uptime": "2026-07-06T14:04:28+0900",
"createDate": "2026-07-06T13:58:52+0900"
},
{
"cloudHadoopServerInstanceNo": "45678905",
"cloudHadoopServerName": "d-002-cluster-01-9d61-hd",
"cloudHadoopServerRole": {
"code": "D",
"codeName": "Data Node"
},
"cloudHadoopServerInstanceStatusName": "running",
"cloudHadoopServerInstanceStatus": {
"code": "RUN",
"codeName": "CLOUD DATABASE (VPC) server Running status"
},
"cloudHadoopServerInstanceOperation": {
"code": "NOOP",
"codeName": "CLOUD DATABASE (VPC) server null OP"
},
"cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G002",
"regionCode": "KR",
"zoneCode": "KR-2",
"vpcNo": "12345678",
"vpcName": "vpc-01",
"subnetNo": "23456790",
"subnetName": "private-subnet",
"privateIp": "10.0.2.9",
"isPublicSubnet": false,
"dataStorageType": {
"code": "SSD",
"codeName": "SSD"
},
"dataStorageSize": 107374182400,
"cpuCount": 4,
"memorySize": 17179869184,
"uptime": "2026-07-06T14:04:28+0900",
"createDate": "2026-07-06T13:58:52+0900"
},
{
"cloudHadoopServerName": "d-003-cluster-01-9d9s-hd",
"cloudHadoopServerRole": {
"code": "D",
"codeName": "Data Node"
},
"cloudHadoopServerInstanceStatusName": "creating",
"cloudHadoopServerInstanceStatus": {
"code": "PEND",
"codeName": "CLOUD DATABASE (VPC) server Pending status"
},
"cloudHadoopServerInstanceOperation": {
"code": "CREAT",
"codeName": "CLOUD DATABASE (VPC) server Create OP"
},
"cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G002",
"regionCode": "KR",
"zoneCode": "KR-2",
"vpcNo": "12345678",
"vpcName": "vpc-01",
"subnetNo": "23456790",
"subnetName": "private-subnet",
"isPublicSubnet": false,
"dataStorageType": {
"code": "SSD",
"codeName": "SSD"
},
"dataStorageSize": 107374182400,
"cpuCount": 4,
"memorySize": 17179869184,
"uptime": "2026-07-06T14:04:28+0900",
"createDate": "2026-07-06T15:18:05+0900"
}
]
}
],
"requestId": "d4e5f607-b8c9-a123-def0-456789a12345",
"returnCode": "0",
"returnMessage": "success"
}
}