npm.cmd파일내용 중 prefix -g => prefix -location=global 로 변경 -------------------------------------- :: Created by npm, please don't edit manually. @ECHO OFF
SETLOCAL
SET "NODE_EXE=%~dp0\node.exe" IF NOT EXIST "%NODE_EXE%" ( SET "NODE_EXE=node" )
SET "NPM_CLI_JS=%~dp0\node_modules\npm\bin\npm-cli.js" FOR /F "delims=" %%F IN ('CALL "%NODE_EXE%" "%NPM_CLI_JS%" prefix -location=global') DO ( SET "NPM_PREFIX_NPM_CLI_JS=%%F\node_modules\npm\bin\npm-cli.js" ) IF EXIST "%NPM_PREFIX_NPM_CLI_JS%" ( SET "NPM_CLI_JS=%NPM_PREFIX_NPM_CLI_JS%" )
//Installation notes: You have to have Hazelcast Java Client on the classpath.
//The simplest way of doing it is to put `hazelcast-all` JAR
//on the classpath, e.g. via Maven. See "Installation" chapter for details.
import com.hazelcast.client.HazelcastClient;
import com.hazelcast.core.HazelcastInstance;
import com.hazelcast.map.IMap;
public class TesterFile {
public static void main(String[] args) {
// Start the client and connect to the cluster
HazelcastInstance hz = HazelcastClient.newHazelcastClient();
// Create a Distributed Map in the cluster
IMap map = hz.getMap("my-distributed-map");
//Standard Put and Get
map.put("1", "John");
map.put("2", "Mary");
map.put("3", "Jane");
// Shutdown the client
// hz.shutdown();
}
HD Wallet ================== Mnemonic: sorry tragic keep tank glow where apology surprise stem dragon found daring Base HD Path: m/44'/60'/0'/0/{account_index}
Gas Price ================== 20000000000
Gas Limit ================== 6721975
Call Gas Limit ================== 9007199254740991
dcans@dcans:~/.streamsets/download/dc/collector$ sudo bin/streamsets dc
Java 1.8 detected; adding $SDC_JAVA8_OPTS of "-XX:+UseConcMarkSweepGC -XX:+UseParNewGC -Djdk.nio.maxCachedBufferSize=262144" to $SDC_JAVA_OPTS INFO - Starting engine Logging initialized @5466ms to org.eclipse.jetty.util.log.Slf4jLog Running on URI : 'http://dcans:18630'
Active: active (running) since Sun 2021-11-21 18:21:47 KST; 27min ago
Main PID: 949 (java)
Tasks: 39 (limit: 8176)
Memory: 77.5M
CGroup: /system.slice/zookeeper.service
└─949 java -Xmx512M -Xms512M -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 -Djava.awt.headless=tr> INFO Created server with tickTime 3000 minSessionTimeout 6000 maxSessionTimeout 60000 datadir /tmp/zookeeper/version-2 sn>
INFO Using org.apache.zookeeper.server.NIOServerCnxnFactory as server connection factory (org.apache.zookeeper.server.Ser>
INFO Configuring NIO connection handler with 10s sessionless connection timeout, 1 selector thread(s), 8 worker threads, >
INFO zookeeper.snapshotSizeFactor = 0.33 (org.apache.zookeeper.server.ZKDatabase)
INFO Snapshotting: 0x0 to /tmp/zookeeper/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog)
INFO Snapshotting: 0x0 to /tmp/zookeeper/version-2/snapshot.0 (org.apache.zookeeper.server.persistence.FileTxnSnapLog)
INFO PrepRequestProcessor (sid:0) started, reconfigEnabled=false (org.apache.zookeeper.server.PrepRequestProcessor)
INFO Using checkIntervalMs=60000 maxPerMinute=10000 (org.apache.zookeeper.server.ContainerManager)
INFO Creating new log file: log.1 (org.apache.zookeeper.server.persistence.FileTxnLog)
INFO binding to port 0.0.0.0/0.0.0.0:2181 (org.apache.zookeeper.server.NIOServerCnxnFactory)
lines 1-19/19 (END)
kafka@dcans:~/logs$ sudo systemctl status kafka ● kafka.service Loaded: loaded (/etc/systemd/system/kafka.service; enabled; vendor preset: enabled) Active: active (running) since Sun 2021-11-21 18:44:01 KST; 4min 14s ago Main PID: 7383 (sh) Tasks: 72 (limit: 8176) Memory: 331.1M CGroup: /system.slice/kafka.service ├─7383 /bin/sh -c /home/kafka/kafka/bin/kafka-server-start.sh /home/kafka/kafka/config/server.properties > /home/kafka/kafka/kafka.log 2>&1 └─7384 java -Xmx1G -Xms1G -server -XX:+UseG1GC -XX:MaxGCPauseMillis=20 -XX:InitiatingHeapOccupancyPercent=35 -XX:+ExplicitGCInvokesConcurrent -XX:MaxInlineLevel=15 -Djava.awt.headless=true >
11월 21 18:44:01 dcans systemd[1]: Started kafka.service. lines 1-11/11 (END)
kafka start 시 아래 에러 발생시 "meta.properties파일 삭제후 카프카 재시작한다".
kafka.common.InconsistentClusterIdException: The Cluster ID WX_SndaJRfmYqLQRDavlVg doesn't match stored clusterId Some(uJ8xz_r_SuKKvuQOCK0zgg) in meta.properties.
/home/kafka/kafka/config/server.properties
의 로그 폴더 확인
############################# Log Basics ############################# # A comma separated list of directories under which to store log files log.dirs=/home/kafka/logs
2. remove jenkins dcans@dcans:~$ sudo apt remove jenkins 패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다 상태 정보를 읽는 중입니다... 완료 다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다: daemon linux-headers-5.11.0-36-generic linux-hwe-5.11-headers-5.11.0-36 linux-image-5.11.0-36-generic linux-modules-5.11.0-36-generic linux-modules-extra-5.11.0-36-generic 'sudo apt autoremove'를 이용하여 제거하십시오. 다음 패키지를 지울 것입니다: jenkins 0개 업그레이드, 0개 새로 설치, 1개 제거 및 12개 업그레이드 안 함. 1개를 완전히 설치하지 못했거나 지움. 이 작업 후 72.4 M바이트의 디스크 공간이 비워집니다. 계속 하시겠습니까? [Y/n] y (데이터베이스 읽는중 ...현재 275938개의 파일과 디렉터리가 설치되어 있습니다.) jenkins (2.303.2)를 제거합니다...
dcans@dcans:~$ sudo apt-get remove --purge jenkins 패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다 상태 정보를 읽는 중입니다... 완료 다음 패키지가 자동으로 설치되었지만 더 이상 필요하지 않습니다: daemon linux-headers-5.11.0-36-generic linux-hwe-5.11-headers-5.11.0-36 linux-image-5.11.0-36-generic linux-modules-5.11.0-36-generic linux-modules-extra-5.11.0-36-generic 'sudo apt autoremove'를 이용하여 제거하십시오. 다음 패키지를 지울 것입니다: jenkins* 0개 업그레이드, 0개 새로 설치, 1개 제거 및 12개 업그레이드 안 함. 이 작업 후 0 바이트의 디스크 공간을 더 사용하게 됩니다. 계속 하시겠습니까? [Y/n] y (데이터베이스 읽는중 ...현재 275933개의 파일과 디렉터리가 설치되어 있습니다.) Purging configuration files for jenkins (2.303.2) ... groupdel: 'jenkins' 그룹이 없습니다 Processing triggers for systemd (245.4-4ubuntu3.13) ...
dcans@dcans:~$ sudo apt-get remove --auto-remove jenkins 패키지 목록을 읽는 중입니다... 완료 의존성 트리를 만드는 중입니다 상태 정보를 읽는 중입니다... 완료 패키지 'jenkins'는 설치되어 있지 않아, 지우지 않았습니다. 다음 패키지를 지울 것입니다: daemon linux-headers-5.11.0-36-generic linux-hwe-5.11-headers-5.11.0-36 linux-image-5.11.0-36-generic linux-modules-5.11.0-36-generic linux-modules-extra-5.11.0-36-generic 0개 업그레이드, 0개 새로 설치, 6개 제거 및 12개 업그레이드 안 함. 이 작업 후 402 M바이트의 디스크 공간이 비워집니다. 계속 하시겠습니까? [Y/n] y (데이터베이스 읽는중 ...현재 275927개의 파일과 디렉터리가 설치되어 있습니다.) daemon (0.6.4-1build2)를 제거합니다... linux-headers-5.11.0-36-generic (5.11.0-36.40~20.04.1)를 제거합니다... linux-hwe-5.11-headers-5.11.0-36 (5.11.0-36.40~20.04.1)를 제거합니다... linux-modules-extra-5.11.0-36-generic (5.11.0-36.40~20.04.1)를 제거합니다... linux-image-5.11.0-36-generic (5.11.0-36.40~20.04.1)를 제거합니다... /etc/kernel/postrm.d/initramfs-tools: update-initramfs: Deleting /boot/initrd.img-5.11.0-36-generic /etc/kernel/postrm.d/zz-update-grub: Sourcing file `/etc/default/grub' Sourcing file `/etc/default/grub.d/init-select.cfg' grub 설정 파일을 형성합니다 ... 리눅스 이미지를 찾았습니다: /boot/vmlinuz-5.11.0-40-generic initrd 이미지를 찾았습니다: /boot/initrd.img-5.11.0-40-generic 리눅스 이미지를 찾았습니다: /boot/vmlinuz-5.11.0-37-generic initrd 이미지를 찾았습니다: /boot/initrd.img-5.11.0-37-generic Adding boot menu entry for UEFI Firmware Settings 완료되었습니다 linux-modules-5.11.0-36-generic (5.11.0-36.40~20.04.1)를 제거합니다... Processing triggers for man-db (2.9.1-1) ...