getCloudHadoopInstanceDetail

Prev Next

Available in VPC

Get Cloud Hadoop cluster details.

Request

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

Method URI
GET | POST /vhadoop/v2/getCloudHadoopInstanceDetail
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
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/getCloudHadoopInstanceDetail?regionCode=KR&cloudHadoopInstanceNo=2707*****&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
getCloudHadoopInstanceDetailResponse Object - Response result
getCloudHadoopInstanceDetailResponse.requestId String - ID for the request
  • UUID format
getCloudHadoopInstanceDetailResponse.returnCode String - Response code
getCloudHadoopInstanceDetailResponse.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:

{
    "getCloudHadoopInstanceDetailResponse": {
        "totalRows": 1,
        "cloudHadoopInstanceList": [
            {
                "cloudHadoopInstanceNo": "2707****",
                "cloudHadoopClusterName": "clus1",
                "cloudHadoopInstanceStatusName": "running",
                "cloudHadoopInstanceStatus": {
                    "code": "CREAT",
                    "codeName": "CLOUD DATABASE (VPC) Created status"
                },
                "cloudHadoopInstanceOperation": {
                    "code": "NULL",
                    "codeName": "CLOUD DATABASE(VPC) Null 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-18T13:35:02+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": "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.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-18T13:39:22+0900",
                        "createDate": "2025-02-18T13:35:02+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-18T13:40:24+0900",
                        "createDate": "2025-02-18T13:35:02+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-18T13:39:23+0900",
                        "createDate": "2025-02-18T13:35:02+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-18T13:40:03+0900",
                        "createDate": "2025-02-18T13:35:02+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-18T13:40:14+0900",
                        "createDate": "2025-02-18T13:35:02+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-18T13:40:14+0900",
                        "createDate": "2025-02-18T13:35:02+0900"
                    }
                ]
            }
        ],
        "requestId": "04599c80-****-****-****-363103f13628",
        "returnCode": "0",
        "returnMessage": "success"
    }
}