changeCloudHadoopNodeSpec

Prev Next

Available in VPC

Upgrade the node specifications of a Cloud Hadoop cluster.

Request

This section describes the request format. The method and URI are as follows:

Method URI
GET | POST /vhadoop/v2/changeCloudHadoopNodeSpec
Note

This guide is based on the GET method. POST method call tests can be performed through Swagger in the API Gateway service of the NAVER Cloud Platform console.

Request headers

For information about the headers common to all Cloud Hadoop APIs, see Cloud Hadoop request headers.

Request query parameters

You can use the following query parameters with your request:

Field Type Required Description
regionCode String Optional Region code
cloudHadoopInstanceNo String Required Cluster instance number
masterNodeProductCode String Conditional Master node server type code
edgeNodeProductCode String Conditional Edge node server type code
workerNodeProductCode String Conditional Worker node server type code
responseFormatType String Optional Format of the response data
  • xml (default) | json

Request example

The request example is as follows:

curl --location --request GET 'https://ncloud.apigw.ntruss.com/vhadoop/v2/changeCloudHadoopNodeSpec?regionCode=KR&cloudHadoopInstanceNo=2707****&edgeNodeProductCode=SVR.VCHDP.EDGND.HICPU.C008.M016.NET.HDD.B050.G002&responseFormatType=json' \
--header 'x-ncp-apigw-timestamp: {Timestamp}' \
--header 'x-ncp-iam-access-key: {Access Key}' \
--header 'x-ncp-apigw-signature-v2: {API Gateway Signature}'

Response

This section describes the response format.

Response body

The response body includes the following data:

Field Type Required Description
changeCloudHadoopNodeSpec Object - Response result
changeCloudHadoopNodeSpec.requestId String - ID for the request
  • UUID format
changeCloudHadoopNodeSpec.returnCode String - Response code
changeCloudHadoopNodeSpec.returnMessage String - Response message

Response status codes

For information about the HTTP status codes common to all Cloud Hadoop APIs, see Cloud Hadoop response status codes.

Response example

The response example is as follows:

{
    "changeCloudHadoopNodeSpec": {
        "totalRows": 1,
        "cloudHadoopInstanceList": [
            {
                "cloudHadoopInstanceNo": "2707****",
                "cloudHadoopClusterName": "clus1",
                "cloudHadoopInstanceStatusName": "upgrading",
                "cloudHadoopInstanceStatus": {
                    "code": "CREAT",
                    "codeName": "CLOUD DATABASE (VPC) Created status"
                },
                "cloudHadoopInstanceOperation": {
                    "code": "UPGD",
                    "codeName": "CLOUD DATABASE(VPC) Upgrade 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.10.1), Spark (2.4.8)"
                },
                "cloudHadoopVersion": {
                    "code": "HADOOP2.1",
                    "codeName": "Cloud Hadoop 2.1"
                },
                "cloudHadoopAddOnList": [],
                "ambariServerHost": "e-001-clus1-5u29-hd",
                "clusterDirectAccessAccount": "sshuser",
                "loginKey": "**********",
                "objectStorageBucket": "bk1",
                "cloudHadoopImageProductCode": "SW.VCHDP.LNX64.CNTOS.0708.HDP.21.B050",
                "isHa": true,
                "createDate": "2025-02-19T14:10:25+0900",
                "domain": "pub-*****.hadoop.ntruss.com",
                "useDataCatalog": false,
                "accessControlGroupNoList": [
                    "20****"
                ],
                "cloudHadoopServerInstanceList": [
                    {
                        "cloudHadoopServerInstanceNo": "2707****",
                        "cloudHadoopServerName": "e-001-clus1-5u29-hd",
                        "cloudHadoopServerRole": {
                            "code": "E",
                            "codeName": "Edge Node"
                        },
                        "cloudHadoopServerInstanceStatusName": "settingUp",
                        "cloudHadoopServerInstanceStatus": {
                            "code": "RUN",
                            "codeName": "CLOUD DATABASE (VPC) server Running status"
                        },
                        "cloudHadoopServerInstanceOperation": {
                            "code": "SETUP",
                            "codeName": "CLOUD DATABASE (VPC) server Setup OP"
                        },
                        "cloudHadoopProductCode": "SVR.VCHDP.EDGND.HICPU.C008.M016.NET.HDD.B050.G002",
                        "regionCode": "KR",
                        "zoneCode": "KR-2",
                        "vpcNo": "7****",
                        "vpcName": "****",
                        "subnetNo": "17****",
                        "subnetName": "****",
                        "privateIp": "***.***.***.***",
                        "isPublicSubnet": true,
                        "dataStorageSize": 107374182400,
                        "cpuCount": 8,
                        "memorySize": 17179869184,
                        "uptime": "2025-02-19T14:15:16+0900",
                        "createDate": "2025-02-19T14:10:26+0900"
                    },
                    {
                        "cloudHadoopServerInstanceNo": "2707****",
                        "cloudHadoopServerName": "m-001-clus1-5u27-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": "7****",
                        "vpcName": "****",
                        "subnetNo": "17****",
                        "subnetName": "****",
                        "privateIp": "***.***.***.***",
                        "isPublicSubnet": false,
                        "dataStorageType": {
                            "code": "SSD",
                            "codeName": "SSD"
                        },
                        "dataStorageSize": 107374182400,
                        "cpuCount": 4,
                        "memorySize": 17179869184,
                        "uptime": "2025-02-19T14:15:06+0900",
                        "createDate": "2025-02-19T14:10:26+0900"
                    },
                    {
                        "cloudHadoopServerInstanceNo": "2707****",
                        "cloudHadoopServerName": "m-002-clus1-5u28-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": "7****",
                        "vpcName": "****",
                        "subnetNo": "17****",
                        "subnetName": "****",
                        "privateIp": "***.***.***.***",
                        "isPublicSubnet": false,
                        "dataStorageType": {
                            "code": "SSD",
                            "codeName": "SSD"
                        },
                        "dataStorageSize": 107374182400,
                        "cpuCount": 4,
                        "memorySize": 17179869184,
                        "uptime": "2025-02-19T14:15:17+0900",
                        "createDate": "2025-02-19T14:10:26+0900"
                    },
                    {
                        "cloudHadoopServerInstanceNo": "2707****",
                        "cloudHadoopServerName": "d-001-clus1-5u2a-hd",
                        "cloudHadoopServerRole": {
                            "code": "D",
                            "codeName": "Date 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": "7****",
                        "vpcName": "****",
                        "subnetNo": "17****",
                        "subnetName": "****",
                        "privateIp": "***.***.***.***",
                        "isPublicSubnet": false,
                        "dataStorageType": {
                            "code": "SSD",
                            "codeName": "SSD"
                        },
                        "dataStorageSize": 107374182400,
                        "cpuCount": 4,
                        "memorySize": 17179869184,
                        "uptime": "2025-02-19T14:15:10+0900",
                        "createDate": "2025-02-19T14:10:26+0900"
                    },
                    {
                        "cloudHadoopServerInstanceNo": "2707****",
                        "cloudHadoopServerName": "d-002-clus1-5u2b-hd",
                        "cloudHadoopServerRole": {
                            "code": "D",
                            "codeName": "Date 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": "7****",
                        "vpcName": "****",
                        "subnetNo": "17****",
                        "subnetName": "****",
                        "privateIp": "***.***.***.***",
                        "isPublicSubnet": false,
                        "dataStorageType": {
                            "code": "SSD",
                            "codeName": "SSD"
                        },
                        "dataStorageSize": 107374182400,
                        "cpuCount": 4,
                        "memorySize": 17179869184,
                        "uptime": "2025-02-19T14:15:11+0900",
                        "createDate": "2025-02-19T14:10:26+0900"
                    },
                    {
                        "cloudHadoopServerInstanceNo": "2707****",
                        "cloudHadoopServerName": "d-003-clus1-5u3q-hd",
                        "cloudHadoopServerRole": {
                            "code": "D",
                            "codeName": "Date 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": "7****",
                        "vpcName": "****",
                        "subnetNo": "17****",
                        "subnetName": "****",
                        "privateIp": "***.***.***.***",
                        "isPublicSubnet": false,
                        "dataStorageType": {
                            "code": "SSD",
                            "codeName": "SSD"
                        },
                        "dataStorageSize": 107374182400,
                        "cpuCount": 4,
                        "memorySize": 17179869184,
                        "uptime": "2025-02-19T15:42:14+0900",
                        "createDate": "2025-02-19T15:37:55+0900"
                    }
                ]
            }
        ],
        "requestId": "0fdacc4f-****-****-****-92848072eeea",
        "returnCode": "0",
        "returnMessage": "success"
    }
}