메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


Drools ServerInfo객체파일

총관리자 2016.07.21 18:02 조회 수 : 4150

------------ServerInfo.java--------------

package com.gooper.drool_test;


public class ServerInfo {

String name;

int processors;

int memory; 

int diskSpace;

int cpuUsage;

public ServerInfo(String name, int processors, int memory, int diskSpace, int cpuUsage) {

super();

this.name = name;

this.processors = processors;

this.memory = memory;

this.diskSpace = diskSpace;

this.cpuUsage = cpuUsage;

}

public String getName() {

return name;

}

public void setName(String name) {

this.name = name;

}

public int getProcessors() {

return processors;

}

public void setProcessors(int processors) {

this.processors = processors;

}

public int getMemory() {

return memory;

}

public void setMemory(int memory) {

this.memory = memory;

}

public int getDiskSpace() {

return diskSpace;

}

public void setDiskSpace(int diskSpace) {

this.diskSpace = diskSpace;

}

public int getCpuUsage() {

return cpuUsage;

}

public void setCpuUsage(int cpuUsage) {

this.cpuUsage = cpuUsage;

}

@Override

public String toString() {

return "Server [name=" + name + ", processors=" + processors + ", memory=" + memory + ", diskSpace=" + diskSpace

+ ", cpuUsage=" + cpuUsage + ", getName()=" + getName() + ", getProcessors()=" + getProcessors()

+ ", getMemory()=" + getMemory() + ", getDiskSpace()=" + getDiskSpace() + ", getCpuUsage()="

+ getCpuUsage() + ", getClass()=" + getClass() + ", hashCode()=" + hashCode() + ", toString()="

+ super.toString() + "]";

}

}


번호 제목 날짜 조회 수
90 hadoop cluster에 포함된 노드중에서 문제있는 decommission하는 방법및 절차 file 2017.12.28 5060
89 Kudu tablet이 FAILED일때 원인 확인 방법 2022.01.17 5062
88 List<Map<String, String>>형태의 데이타에서 중복제거 하는 방법 2016.12.23 5067
87 Master rejected startup because clock is out of sync 오류 해결방법 2016.05.03 5074
86 kudu rebalance수행 command예시 2022.01.17 5084
85 HBase 설치하기 – Pseudo-distributed file 2013.03.12 5095
84 hive job실행시 meta정보를 원격의 mysql에 저장하는 경우 설정방법 2014.05.28 5098
83 TLS/SSl설정시 방법및 참고 사항 2021.10.08 5104
82 hue db에서 사용자가 가지는 정보 확인 2020.02.10 5106
81 [oozie]Oozie WF수행시 단계별 ID넘버링 비교/설명 2022.03.23 5115
80 Hive+mysql 설치 및 환경구축하기 file 2013.03.07 5123
79 [백업] 리눅스 시스템 백업하기 (Linux System Backup) - TAR 사용 시스템 전체 백업 2022.01.19 5134
78 [CDP7.1.3]Ranger WebUI에서 Error! Connection refused: Please check the KMS provider URL and whether the Ranager KMS is running발생시 조치 방법 2023.06.07 5140
77 Cloudera의 API를 이용하여 impala의 실행되었던 쿼리 확인하는 예시 2018.05.03 5153
76 의사분산모드에 hadoop설치및 ecosystem 환경 정리 2014.05.29 5170
75 kafka broker기동시 brokerId가 달라서 기동에 실패하는 경우 조치방법 2016.05.02 5189
74 Windows7 64bit 환경에서 Apache Hadoop 2.7.1설치하기 2017.07.26 5197
73 HiveServer2인증을 PAM을 이용하도록 설정하는 방법 2018.07.21 5205
72 [Kudu]ERROR: Unable to advance iterator for node with id '2' for Kudu table 'impala::core.pm0_abdasubjct': Network error: recv error from unknown peer: Transport endpoint is not connected (error 107) 2023.03.16 5212
71 ping 안될때.. networking restart 날려주면 잘됨.. 2014.05.09 5219
위로