changeCloudHadoopNodeSpec
- 인쇄
- PDF
changeCloudHadoopNodeSpec
- 인쇄
- PDF
기사 요약
이 요약이 도움이 되었나요?
의견을 보내 주셔서 감사합니다.
개요
Cloud Hadoop의 노드 개수를 변경합니다.
요청
요청 파라미터
파라미터명 | 필수 여부 | 타입 | 제약 사항 | 설명 |
---|---|---|---|---|
regionCode | No | String | - 리전 코드 리전(Region)을 결정 가능 regionCode는 getRegionList 액션을 통해서 획득 가능 Default : getRegionList 조회 결과의 첫 번째 리전을 선택 | |
cloudHadoopInstanceNo | Yes | String | - Cloud Hadoop 인스턴스 번호 cloudHadoopInstanceNo는 getCloudHadoopInstanceList 액션을 통해서 획득 가능 | |
workerNodeCount | Yes | Integer | - Cloud Hadoop 작업자노드 개수 변경할 Cloud Hadoop 작업자노드 개수를 입력 | |
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 changeCLoudHadoopNodeCount --regionCode FKR --cloudHadoopInstanceNo ****890 --workerNodeCount 3
응답
{
"changeCloudHadoopNodeCountResponse": {
"totalRows": 1,
"cloudHadoopInstanceList": [
{
"cloudHadoopInstanceNo": "****498",
"cloudHadoopClusterName": "****dsd",
"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-****-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": "****507",
"cloudHadoopServerName": "e-001-****-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": "FKR",
"zoneCode": "FKR-2",
"vpcNo": "**65",
"subnetNo": "**23",
"isPublicSubnet": false,
"dataStorageSize": 107374182400,
"cpuCount": 4,
"memorySize": 17179869184,
"uptime": "2023-02-08T11:26:00+0900",
"createDate": "2023-02-08T11:21:42+0900"
},
{
"cloudHadoopServerInstanceNo": "****499",
"cloudHadoopServerName": "m-001-****-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": "FKR",
"zoneCode": "FKR-2",
"vpcNo": "**65",
"subnetNo": "**60",
"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": "****503",
"cloudHadoopServerName": "m-002-****-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": "FKR",
"zoneCode": "FKR-2",
"vpcNo": "**65",
"subnetNo": "**60",
"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": "****510",
"cloudHadoopServerName": "d-001-****-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": "FKR",
"zoneCode": "FKR-2",
"vpcNo": "**65",
"subnetNo": "**60",
"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": "****514",
"cloudHadoopServerName": "d-002-****-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": "FKR",
"zoneCode": "FKR-2",
"vpcNo": "**65",
"subnetNo": "**60",
"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-****-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": "FKR",
"zoneCode": "FKR-2",
"vpcNo": "**65",
"subnetNo": "**60",
"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-***********",
"returnCode": "0",
"returnMessage": "success"
}
}
<changeCloudHadoopNodeCountResponse>
<requestId>47d00526-646e-474f-9dbb-***********</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<cloudHadoopInstanceList>
<cloudHadoopInstance>
<cloudHadoopInstanceNo>****298</cloudHadoopInstanceNo>
<cloudHadoopClusterName>****fdf</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-****-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>FKR</regionCode>
<zoneCode>FKR-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>FKR</regionCode>
<zoneCode>FKR-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>FKR</regionCode>
<zoneCode>FKR-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>FKR</regionCode>
<zoneCode>FKR-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>FKR</regionCode>
<zoneCode>FKR-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>FKR</regionCode>
<zoneCode>FKR-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>
이 문서가 도움이 되었습니까?