changeCloudHadoopNodeSpec
    • PDF

    changeCloudHadoopNodeSpec

    • PDF

    기사 요약

    VPC 환경에서 이용 가능합니다.

    Cloud Hadoop의 노드 스펙을 변경합니다.

    요청

    요청 파라미터

    파라미터명필수 여부타입제약 사항설명
    regionCodeNoString- 리전 코드
    리전(Region)을 결정 가능
    regionCode는 getRegionList 액션을 통해 획득 가능
    Default: getRegionList 조회 결과의 첫 번째 리전 선택
    cloudHadoopInstanceNoYesString- Cloud Hadoop 인스턴스 번호
    cloudHadoopInstanceNo는 getCloudHadoopInstanceList 액션을 통해 획득 가능
    masterNodeProductCodeConditionalString- Cloud Hadoop Master 서버 상품 코드
    생성할 Cloud Hadoop 인스턴스의 서버 스펙 결정 가능
    masterNodeProductCode는 getCloudHadoopProductList 액션의 infraResourceDetailTypeCode = 'MSTDT'로 설정하여 호출 시 획득 가능
    Default: 최소 사양으로 선택됨
    최소 사양 기준: 1. 메모리 2. CPU
    edgeNodeProductCodeConditionalString- Cloud Hadoop Edge 서버 상품 코드
    생성할 Cloud Hadoop 인스턴스의 서버 스펙 결정 가능
    edgeNodeProductCode는 getCloudHadoopProductList 액션의 infraResourceDetailTypeCode = 'EDGND'로 설정하여 호출 시 획득 가능
    Default: 최소 사양으로 선택됨
    최소 사양의 기준: 1. 메모리 2. CPU
    workerNodeProductCodeConditionalString- Cloud Hadoop Worker 서버 상품 코드
    생성할 Cloud Hadoop 인스턴스의 서버 스펙 결정 가능
    workerNodeProductCode는 getCloudHadoopProductList 액션의 infraResourceDetailTypeCode = 'MSTDT'로 설정하여 호출 시 획득 가능
    Default: 최소 사양으로 선택됨
    최소 사양의 기준: 1. 메모리 2. CPU
    responseFormatTypeNoString- 응답 결과의 포맷 타입
    Options: xml | json
    Default: xml

    요청 헤더

    공통 가이드 참조

    요청 바디

    {
      "regionCode": "string",
      "cloudHadoopInstanceNo": "string",
      "workerNodeProductCode": "string",
      "edgeNodeProductCode": "string",
      "masterNodeProductCode": "string",
      "responseFormatType": "string"
    }
    

    오류 코드

    Cloud Hadoop(VPC) 개요 참조

    예시

    요청 예시

    POST {API_URL}/changeCloudHadoopNodeSpec
    ?regionCode=KR
    &cloudHadoopInstanceNo=****890
    &masterNodeProductCode=SVR.VCHDP.MSTDT.HIMEM.C004.M032.NET.HDD.B050.G002
    &edgeNodeProductCode=SVR.VCHDP.EDGND.STAND.C004.M032.NET.HDD.B050.G002
    &workerNodeProductCode=SVR.VCHDP.MSTDT.HICPU.C008.M032.NET.HDD.B050.G002
    

    응답 예시

    {
      "changeCloudHadoopNodeSpec": {
        "totalRows": 1,
        "cloudHadoopInstanceList": [
          {
            "cloudHadoopInstanceNo": "2773990",
            "cloudHadoopClusterName": "dsadsad",
            "cloudHadoopInstanceStatusName": "upgrading",
            "cloudHadoopInstanceStatus": {
              "code": "CREAT",
              "codeName": "CLOUD DATABASE(VPC) Created State"
            },
            "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.0",
              "codeName": "Cloud Hadoop 2.0"
            },
            "cloudHadoopAddOnList": [],
            "ambariServerHost": "e-001-dsadsad-15fd-hd",
            "clusterDirectAccessAccount": "sshuser",
            "loginKey": "newkey",
            "objectStorageBucket": "datacatalog-c2033-9d0fe7e8",
            "kdcRealm": "EXAMPLE.COM",
            "cloudHadoopImageProductCode": "SW.VCHDP.LNX64.CNTOS.0708.HDP.20.B050",
            "isHa": true,
            "createDate": "2023-02-08T14:11:19+0900",
            "domain": "pri-2kkv6.hadoop.beta.ntruss.com",
            "accessControlGroupNoList": [
              "25481"
            ],
            "cloudHadoopServerInstanceList": [
              {
                "cloudHadoopServerInstanceNo": "2773999",
                "cloudHadoopServerName": "e-001-dsadsad-15fd-hd",
                "cloudHadoopServerRole": {
                  "code": "E",
                  "codeName": "Edge Node"
                },
                "cloudHadoopServerInstanceStatusName": "settingUp",
                "cloudHadoopServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "SETUP",
                  "codeName": "CLOUD DATABASE(VPC) Server Setup OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.EDGND.STAND.C008.M032.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "3977",
                "subnetNo": "5747",
                "isPublicSubnet": false,
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 34359738368,
                "uptime": "2023-02-08T14:15:36+0900",
                "createDate": "2023-02-08T14:11:19+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2773991",
                "cloudHadoopServerName": "m-001-dsadsad-15fb-hd",
                "cloudHadoopServerRole": {
                  "code": "M",
                  "codeName": "Master Node"
                },
                "cloudHadoopServerInstanceStatusName": "settingUp",
                "cloudHadoopServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "SETUP",
                  "codeName": "CLOUD DATABASE(VPC) Server Setup OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C008.M032.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "3977",
                "subnetNo": "5747",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 34359738368,
                "uptime": "2023-02-08T14:15:36+0900",
                "createDate": "2023-02-08T14:11:19+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2773995",
                "cloudHadoopServerName": "m-002-dsadsad-15fc-hd",
                "cloudHadoopServerRole": {
                  "code": "M",
                  "codeName": "Master Node"
                },
                "cloudHadoopServerInstanceStatusName": "settingUp",
                "cloudHadoopServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "SETUP",
                  "codeName": "CLOUD DATABASE(VPC) Server Setup OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C008.M032.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "3977",
                "subnetNo": "5747",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 34359738368,
                "uptime": "2023-02-08T14:15:47+0900",
                "createDate": "2023-02-08T14:11:19+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2774002",
                "cloudHadoopServerName": "d-001-dsadsad-15fe-hd",
                "cloudHadoopServerRole": {
                  "code": "D",
                  "codeName": "Date Node"
                },
                "cloudHadoopServerInstanceStatusName": "settingUp",
                "cloudHadoopServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "SETUP",
                  "codeName": "CLOUD DATABASE(VPC) Server Setup OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C008.M032.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "3977",
                "subnetNo": "5747",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 34359738368,
                "uptime": "2023-02-08T14:15:38+0900",
                "createDate": "2023-02-08T14:11:19+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2774006",
                "cloudHadoopServerName": "d-002-dsadsad-15ff-hd",
                "cloudHadoopServerRole": {
                  "code": "D",
                  "codeName": "Date Node"
                },
                "cloudHadoopServerInstanceStatusName": "settingUp",
                "cloudHadoopServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "SETUP",
                  "codeName": "CLOUD DATABASE(VPC) Server Setup OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C008.M032.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "3977",
                "subnetNo": "5747",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 34359738368,
                "uptime": "2023-02-08T14:15:54+0900",
                "createDate": "2023-02-08T14:11:19+0900"
              },
              {
                "cloudHadoopServerInstanceNo": "2775743",
                "cloudHadoopServerName": "d-003-dsadsad-15ir-hd",
                "cloudHadoopServerRole": {
                  "code": "D",
                  "codeName": "Date Node"
                },
                "cloudHadoopServerInstanceStatusName": "settingUp",
                "cloudHadoopServerInstanceStatus": {
                  "code": "RUN",
                  "codeName": "CLOUD DATABASE(VPC) Server Running State"
                },
                "cloudHadoopServerInstanceOperation": {
                  "code": "SETUP",
                  "codeName": "CLOUD DATABASE(VPC) Server Setup OP"
                },
                "cloudHadoopProductCode": "SVR.VCHDP.MSTDT.STAND.C008.M032.NET.HDD.B050.G002",
                "regionCode": "KR",
                "zoneCode": "KR-2",
                "vpcNo": "3977",
                "subnetNo": "5747",
                "isPublicSubnet": false,
                "dataStorageType": {
                  "code": "SSD",
                  "codeName": "SSD"
                },
                "dataStorageSize": 107374182400,
                "cpuCount": 8,
                "memorySize": 34359738368,
                "uptime": "2023-02-08T20:23:47+0900",
                "createDate": "2023-02-08T20:19:51+0900"
              }
            ]
          }
        ],
        "requestId": "0501aa89-1f07-49a3-8c58-d57e75b19b47",
        "returnCode": "0",
        "returnMessage": "success"
      }
    }
    
    <changeCloudHadoopNodeSpec>
        <requestId>ccf282c7-0afb-4bb8-af1b-21e05f676db5</requestId>
        <returnCode>0</returnCode>
        <returnMessage>success</returnMessage>
        <totalRows>1</totalRows>
        <cloudHadoopInstanceList>
            <cloudHadoopInstance>
                <cloudHadoopInstanceNo>***4652</cloudHadoopInstanceNo>
                <cloudHadoopClusterName>***sds</cloudHadoopClusterName>
                <cloudHadoopInstanceStatusName>upgrading</cloudHadoopInstanceStatusName>
                <cloudHadoopInstanceStatus>
                    <code>CREAT</code>
                    <codeName>CLOUD DATABASE(VPC) Created State</codeName>
                </cloudHadoopInstanceStatus>
                <cloudHadoopInstanceOperation>
                    <code>UPGD</code>
                    <codeName>CLOUD DATABASE(VPC) Upgrade 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-dsdsds-ia4-hd</ambariServerHost>
                <clusterDirectAccessAccount>sshuser</clusterDirectAccessAccount>
                <loginKey>****min-hadoop-***</loginKey>
                <objectStorageBucket>***asd</objectStorageBucket>
                <kdcRealm>EXAMPLE</kdcRealm>
                <cloudHadoopImageProductCode>SW.VCHDP.LNX64.CNTOS.0708.HDP.16.B050</cloudHadoopImageProductCode>
                <isHa>true</isHa>
                <createDate>2021-11-09T16:30:36+0900</createDate>
                <domain>pri-1t5lc.hadoop.beta.fin-ntruss.com</domain>
                <accessControlGroupNoList>
                    <accessControlGroupNo>66823</accessControlGroupNo>
                </accessControlGroupNoList>
                <cloudHadoopServerInstanceList>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>E</code>
                            <codeName>Edge Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>settingUp</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>SETUP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Setup OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.EDGND.STAND.C008.M032.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>8</cpuCount>
                        <memorySize>34359738368</memorySize>
                        <uptime>2021-11-09T16:35:12+0900</uptime>
                        <createDate>2021-11-09T16:30:36+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>M</code>
                            <codeName>Master Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>settingUp</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>SETUP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Setup OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.STAND.C008.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>118111600640</dataStorageSize>
                        <cpuCount>8</cpuCount>
                        <memorySize>17179869184</memorySize>
                        <uptime>2021-11-09T16:34:53+0900</uptime>
                        <createDate>2021-11-09T16:30:36+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>M</code>
                            <codeName>Master Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>settingUp</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>SETUP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Setup OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.STAND.C008.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>118111600640</dataStorageSize>
                        <cpuCount>8</cpuCount>
                        <memorySize>17179869184</memorySize>
                        <uptime>2021-11-09T16:35:13+0900</uptime>
                        <createDate>2021-11-09T16:30:36+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>D</code>
                            <codeName>Date Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>settingUp</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>SETUP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Setup OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.STAND.C008.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>8</cpuCount>
                        <memorySize>17179869184</memorySize>
                        <uptime>2021-11-09T16:35:32+0900</uptime>
                        <createDate>2021-11-09T16:30:36+0900</createDate>
                    </cloudHadoopServerInstance>
                    <cloudHadoopServerInstance>
                        <cloudHadoopServerInstanceNo>****</cloudHadoopServerInstanceNo>
                        <cloudHadoopServerName>****</cloudHadoopServerName>
                        <cloudHadoopServerRole>
                            <code>D</code>
                            <codeName>Date Node</codeName>
                        </cloudHadoopServerRole>
                        <cloudHadoopServerInstanceStatusName>settingUp</cloudHadoopServerInstanceStatusName>
                        <cloudHadoopServerInstanceStatus>
                            <code>RUN</code>
                            <codeName>CLOUD DATABASE(VPC) Server Running State</codeName>
                        </cloudHadoopServerInstanceStatus>
                        <cloudHadoopServerInstanceOperation>
                            <code>SETUP</code>
                            <codeName>CLOUD DATABASE(VPC) Server Setup OP</codeName>
                        </cloudHadoopServerInstanceOperation>
                        <cloudHadoopProductCode>SVR.VCHDP.MSTDT.STAND.C008.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>8</cpuCount>
                        <memorySize>17179869184</memorySize>
                        <uptime>2021-11-09T16:35:04+0900</uptime>
                        <createDate>2021-11-09T16:30:36+0900</createDate>
                    </cloudHadoopServerInstance>
                </cloudHadoopServerInstanceList>
            </cloudHadoopInstance>
        </cloudHadoopInstanceList>
    </changeCloudHadoopNodeSpec>
    

    오류코드 예시

    {
      "responseError": {
        "returnCode": "5001217",
        "returnMessage": "It cannot be changed to the same specification."
      }
    }
    

    이 문서가 도움이 되었습니까?

    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.