changeCloudHadoopNodeSpec
  • PDF

changeCloudHadoopNodeSpec

  • PDF

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

개요

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

요청

요청 파라미터

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

응답

응답 데이터 타입

  • CloudHadoopInstanceList 타입
CloudHadoopInstanceList extends CommonResponse
private Integer totalRows;
private List<CloudHadoopInstance> cloudHadoopInstanceList = new ArrayList<>();
CloudHadoopInstance
private String cloudHadoopInstanceNo;
private String cloudHadoopClusterName;
private String cloudHadoopInstanceStatusName;
private CommonCode cloudHadoopInstanceStatus;
private CommonCode cloudHadoopInstanceOperation;
private CloudHadoopClusterType cloudHadoopClusterType;
private CloudHadoopVersion cloudHadoopVersion;
private List<CloudHadoopAddOn> cloudHadoopAddOnList
private String ambariServerHost;
private String clusterDirectAccessAccount;
private String loginKey;
private String objectStorageBucket;
private String kdcRealm;
private String cloudHadoopImageProductCode;
private Boolean isHa;
private String domain;
private AccessControlGroupNoList accessControlGroupNoList;
private Date createDate;
private List<CloudHadoopServerInstance> cloudHadoopServerInstanceList;
CloudHadoopAddOn
private String code;
private String codeName;
CloudHadoopClusterType
private String code;
private String codeName;
CloudHadoopVersion
private String code;
private String codeName;
AccessControlGroupNoList
private List<String> accessControlGroupNoList = new ArrayList<>();
CloudHadoopServerInstance
private String cloudHadoopServerInstanceNo;
private String cloudHadoopServerName;
private String cloudHadoopServerInstanceStatusName;
private CommonCode cloudHadoopServerInstanceStatus;
private CommonCode cloudHadoopServerInstanceOperation;
private CommonCode cloudHadoopServerRole;
private String regionCode;
private String vpcNo;
private String subnetNo;
private Date createDate;
private Date uptime;
private String zoneCode;
private Long memorySize;
private Integer cpuCount;
private Boolean isPublicSubnet;
private Long dataStorageSize;
private String cloudHadoopProductCode;
private CommonCode dataStorageType;

예시

호출

ncloud vhadoop 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>
    <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>SW.VCHDP.LNX64.CNTOS.0708.HDP.16.B050</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>

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