changeCloudHadoopNodeCount
    • PDF

    changeCloudHadoopNodeCount

    • PDF

    Article summary

    Available in VPC

    Changes the number of nodes of Cloud Hadoop.

    Requests

    Request Parameters

    Parameter NameRequirement StatusTypeRestrictionsDescription
    regionCodeNoString- Region code
    Can determine the Region.
    regionCode can be obtained via the getRegionList action
    Default: select the first Region of the getRegionList search results
    cloudHadoopInstanceNoYesString- The instance number of Cloud Hadoop
    The cloudHadoopInstanceNo can be obtained by the getCloudHadoopInstanceList action.
    workerNodeCountYesInteger- Number of Cloud Hadoop worker nodes
    Enter the new number of Cloud Hadoop worker nodes.
    responseFormatTypeNoString- Format type of the response result
    Options: xml | json
    Default: xml

    Request headers

    See Cloud Hadoop(VPC) overview.

    Request bodies

    {
      "regionCode": "string",
      "cloudHadoopInstanceNo": "string",
      "workerNodeCount": 0,
      "responseFormatType": "string"
    }
    

    Responses

    Response bodies

    Errors

    See Cloud Hadoop(VPC) overview.

    Examples

    Request Examples

    POST {API_URL}/changeCloudHadoopNodeCount
    ?regionCode=KR
    &cloudHadoopInstanceNo=****890
    &workerNodeCount=3
    

    Response examples

    {
      "changeCloudHadoopNodeCountResponse": {
        "totalRows": 1,
        "cloudHadoopInstanceList": [
          {
            "cloudHadoopInstanceNo": "2773498",
            "cloudHadoopClusterName": "fsdfsdsd",
            "cloudHadoopInstanceStatusName": "settingUp",
            "cloudHadoopInstanceStatus": {
              "code": "CREAT",
              "codeName": "CLOUD DATABASE(VPC) Created State"
            },
            "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.10.1), Spark (2.4.8)"
            },
            "cloudHadoopVersion": {
              "code": "HADOOP2.0",
              "codeName": "Cloud Hadoop 2.0"
            },
            "cloudHadoopAddOnList": [],
            "ambariServerHost": "e-001-fsdfsdsd-15e9-hd",
            "clusterDirectAccessAccount": "sshuser",
            "loginKey": "newkey",
            "objectStorageBucket": "aabbcc",
            "kdcRealm": "EXAPLE.COM",
            "cloudHadoopImageProductCode": "SW.VCHDP.LNX64.CNTOS.0708.HDP.20.B050",
            "isHa": true,
            "createDate": "2023-02-08T11:21:42+0900",
            "domain": "pri-2kkfq.hadoop.beta.ntruss.com",
            "accessControlGroupNoList": [
              "25472"
            ],
            "cloudHadoopServerInstanceList": [
              {
                "cloudHadoopServerInstanceNo": "2773507",
                "cloudHadoopServerName": "e-001-fsdfsdsd-15e9-hd",
                "cloudHadoopServerRole": {
                  "code": "E",
                  "codeName": "Edge Node"
                },
                "cloudHadoopServerInstanceStatusName": "running",
                "cloudHadoopServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "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": "1665",
                "subnetNo": "2023",
                "isPublicSubnet": false,
                "dataStorageSize": 107374182400,
                "cpuCount": 4,
                "memorySize": 17179869184,
                "uptime": "2023-02-08T11:26:00+0900",
                "createDate": "2023-02-08T11:21:42+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2773499",
                "cloudHadoopServerName": "m-001-fsdfsdsd-15e7-hd",
                "cloudHadoopServerRole": {
                  "code": "M",
                  "codeName": "Master Node"
                },
                "cloudHadoopServerInstanceStatusName": "running",
                "cloudHadoopServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.HIMEM.C004.M032.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "1665",
                "subnetNo": "5160",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 4,
                "memorySize": 34359738368,
                "uptime": "2023-02-08T11:25:59+0900",
                "createDate": "2023-02-08T11:21:42+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2773503",
                "cloudHadoopServerName": "m-002-fsdfsdsd-15e8-hd",
                "cloudHadoopServerRole": {
                  "code": "M",
                  "codeName": "Master Node"
                },
                "cloudHadoopServerInstanceStatusName": "running",
                "cloudHadoopServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.HIMEM.C004.M032.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "1665",
                "subnetNo": "5160",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 4,
                "memorySize": 34359738368,
                "uptime": "2023-02-08T11:26:00+0900",
                "createDate": "2023-02-08T11:21:42+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2773510",
                "cloudHadoopServerName": "d-001-fsdfsdsd-15ea-hd",
                "cloudHadoopServerRole": {
                  "code": "D",
                  "codeName": "Date Node"
                },
                "cloudHadoopServerInstanceStatusName": "running",
                "cloudHadoopServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.HICPU.C008.M016.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "1665",
                "subnetNo": "5160",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 17179869184,
                "uptime": "2023-02-08T11:26:16+0900",
                "createDate": "2023-02-08T11:21:42+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2773514",
                "cloudHadoopServerName": "d-002-fsdfsdsd-15eb-hd",
                "cloudHadoopServerRole": {
                  "code": "D",
                  "codeName": "Date Node"
                },
                "cloudHadoopServerInstanceStatusName": "running",
                "cloudHadoopServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "NOOP",
                  "codeName": "CLOUD DATABASE(VPC) Server Null OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.HICPU.C008.M016.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "1665",
                "subnetNo": "5160",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 17179869184,
                "uptime": "2023-02-08T11:26:27+0900",
                "createDate": "2023-02-08T11:21:42+0900"
              },
              {
                "cloudHadoopServerName": "d-003-fsdfsdsd-15is-hd",
                "cloudHadoopServerRole": {
                  "code": "D",
                  "codeName": "Date Node"
                },
                "cloudHadoopServerInstanceStatusName": "creating",
                "cloudHadoopServerInstanceStatus": {
                  "code": "PEND",
                  "codeName": "CLOUD DATABASE(VPC) Server Pending State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "CREAT",
                  "codeName": "CLOUD DATABASE(VPC) Server Create OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.HICPU.C008.M016.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "1665",
                "subnetNo": "5160",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 17179869184,
                "createDate": "2023-02-08T20:20:13+0900"
              }
            ]
          }
        ],
        "requestId": "c4e31062-4044-49ad-8141-a6ace84e7cf0",
        "returnCode": "0",
        "returnMessage": "success"
      }
    }
    
    <changeCloudHadoopNodeCountResponse>
        <requestId>47d00526-646e-474f-9dbb-d5370e4b98a7</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <cloudHadoopInstanceList>
            <cloudHadoopInstance>
                <cloudHadoopInstanceNo>2004298</cloudHadoopInstanceNo>
                <cloudHadoopClusterName>xzxafdf</cloudHadoopClusterName>
                <cloudHadoopInstanceStatusName>settingUp</cloudHadoopInstanceStatusName>
                <cloudHadoopInstanceStatus>
                    <code>CREAT</code>
                    <codeName>CLOUD DATABASE(VPC) Created State</codeName>
                </cloudHadoopInstanceStatus>
                <cloudHadoopInstanceOperation>
                    <code>SETUP</code>
                    <codeName>CLOUD DATABASE(VPC) Setup OP</codeName>
                </cloudHadoopInstanceOperation>
                <cloudHadoopClusterType>
                    <code>CORE_HADOOP_WITH_SPARK</code>
                    <codeName>Core Hadoop with Spark : HDFS(3.1.1), YARN(3.1.1), Zookeeper(3.4.6), Ranger(1.2.0), HIVE(3.1.0), Hue(4.3.0), Zepplin Notebook(0.8.0), Spark(2.4.8)</codeName>
                </cloudHadoopClusterType>
                <cloudHadoopVersion>
                    <code>HADOOP1.6</code>
                    <codeName>Cloud Hadoop 1.6</codeName>
                </cloudHadoopVersion>
                <ambariServerHost>e-001-xzxafdf-i8j-hd</ambariServerHost>
                <clusterDirectAccessAccount>sshuser</clusterDirectAccessAccount>
                <loginKey>****min-hadoop-***</loginKey>
                <objectStorageBucket>***asd</objectStorageBucket>
                <cloudHadoopImageProductCode>SW.VCHDP.LNX64.CNTOS.0708.HDP.16.B050</cloudHadoopImageProductCode>
                <isHa>true</isHa>
                <createDate>2021-11-09T14:43:52+0900</createDate>
                <domain>pri-1t5aa.hadoop.beta.fin-ntruss.com</domain>
                <accessControlGroupNoList>
                    <accessControlGroupNo>66812</accessControlGroupNo>
                </accessControlGroupNoList>
                <cloudHadoopServerInstanceList>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>E</code>
                            <codeName>Edge Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.EDGND.STAND.C004.M016.NET.HDD.B050.G001</cloudHadoopProductCode>
                        <regionCode>KR</regionCode>
                        <zoneCode>KR-1</zoneCode>
                        <vpcNo>**387</vpcNo>
                        <subnetNo>**327</subnetNo>
                        <isPublicSubnet>false</isPublicSubnet>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>4</cpuCount>
                        <memorySize>17179869184</memorySize>
                        <uptime>2021-11-09T14:47:37+0900</uptime>
                        <createDate>2021-11-09T14:43:52+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>M</code>
                            <codeName>Master Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G001</cloudHadoopProductCode>
                        <regionCode>KR</regionCode>
                        <zoneCode>KR-1</zoneCode>
                        <vpcNo>**387</vpcNo>
                        <subnetNo>**327</subnetNo>
                        <isPublicSubnet>false</isPublicSubnet>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <dataStorageSize>4294967296000</dataStorageSize>
                        <cpuCount>4</cpuCount>
                        <memorySize>17179869184</memorySize>
                        <uptime>2021-11-09T14:47:39+0900</uptime>
                        <createDate>2021-11-09T14:43:52+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>M</code>
                            <codeName>Master Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G001</cloudHadoopProductCode>
                        <regionCode>KR</regionCode>
                        <zoneCode>KR-1</zoneCode>
                        <vpcNo>**387</vpcNo>
                        <subnetNo>**327</subnetNo>
                        <isPublicSubnet>false</isPublicSubnet>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <dataStorageSize>4294967296000</dataStorageSize>
                        <cpuCount>4</cpuCount>
                        <memorySize>17179869184</memorySize>
                        <uptime>2021-11-09T14:47:50+0900</uptime>
                        <createDate>2021-11-09T14:43:52+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>D</code>
                            <codeName>Date Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G001</cloudHadoopProductCode>
                        <regionCode>KR</regionCode>
                        <zoneCode>KR-1</zoneCode>
                        <vpcNo>**387</vpcNo>
                        <subnetNo>**327</subnetNo>
                        <isPublicSubnet>false</isPublicSubnet>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>4</cpuCount>
                        <memorySize>17179869184</memorySize>
                        <uptime>2021-11-09T14:47:39+0900</uptime>
                        <createDate>2021-11-09T14:43:52+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>D</code>
                            <codeName>Date Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>running</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>NOOP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Null OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G001</cloudHadoopProductCode>
                        <regionCode>KR</regionCode>
                        <zoneCode>KR-1</zoneCode>
                        <vpcNo>**387</vpcNo>
                        <subnetNo>**327</subnetNo>
                        <isPublicSubnet>false</isPublicSubnet>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <dataStorageSize>107374182400</dataStorageSize>
                        <cpuCount>4</cpuCount>
                        <memorySize>17179869184</memorySize>
                        <uptime>2021-11-09T14:47:39+0900</uptime>
                        <createDate>2021-11-09T14:43:52+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>D</code>
                            <codeName>Date Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>creating</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>PEND</code>
                            <codeName>CLOUD DATABASE(VPC) Server Pending State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>CREAT</code>
                            <codeName>CLOUD DATABASE(VPC) Server Create OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.STAND.C004.M016.NET.HDD.B050.G001</cloudHadoopProductCode>
                        <regionCode>KR</regionCode>
                        <zoneCode>KR-1</zoneCode>
                        <vpcNo>**387</vpcNo>
                        <subnetNo>**327</subnetNo>
                        <isPublicSubnet>false</isPublicSubnet>
                        <dataStorageType>
                            <code>SSD</code>
                            <codeName>SSD</codeName>
                        </dataStorageType>
                        <dataStorageSize>4294967296000</dataStorageSize>
                        <cpuCount>4</cpuCount>
                        <memorySize>17179869184</memorySize>
                        <createDate>2021-11-09T17:51:20+0900</createDate>
                    </cloudHadoopServerInstance>
                </cloudHadoopServerInstanceList>
            </cloudHadoopInstance>
        </cloudHadoopInstanceList>
    </changeCloudHadoopNodeCountResponse>
    

    Error examples

    {
      "responseError": {
        "returnCode": "5001005",
        "returnMessage": "The cluster is working on something else. Please try again after the existing work is completed."
      }
    }
    
    {
      "responseError": {
        "returnCode": "5001000",
        "returnMessage": "The number of DATA nodes entered by the user has already been created."
      }
    }
    

    Was this article helpful?

    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.