Posts
Q&A
kafka consumer์์ ๋ฐ์ดํฐ๋ฅผ ๋ชป ์ฝ๋๋ฐ์.
car-batch-log ํด๋์ SmartCarStatusInfo_20160101.txt ๋ฅผ mv ํ๋ฉด ์ญ์ ๋๋๋ฐ ์ ๊ทธ๋ด๊น์?
- 0
- 11
- 790
Q&A
kafka consumer์์ ๋ฐ์ดํฐ๋ฅผ ๋ชป ์ฝ๋๋ฐ์.
์ ๋ฐ๋ณตํด์ mv ํด๋ ์ญ์ ๊ฐ ๋ ๊น์? ---------------------------------------------------- [root@server02 driver-realtime-log]# mv /home/pilot-pjt/working/SmartCar/SmartCarStatusInfo_20160101.txt /home/pilot-pjt/working/car-batch-log/ [root@server02 driver-realtime-log]# cd /home/pilot-pjt/working/car-batch-log/ [root@server02 car-batch-log]# ls -ltr total 0
- 0
- 11
- 790
Q&A
Hbase์ ๋ฐ์ดํฐ ์ ์ฌ๊ฐ ๋์ง ์์ต๋๋ค...
์์ ๊ฐ์ด๋๋๋ก ์งํํด๋ณด๋ฉด --------------------------------------------------- $ zookeeper-client [zk: ...] ls /brokers/topics/SmartCar-Topic/partitions/ ์ SmartCar-Topic Z๋ ธ๋๊ฐ ํ์ธ์ด ๋์์ผ๋ฉด ํฐ ๋ฌธ์ ๋ ์์ต๋๋ค. ๊ทธ๋ฅ ์๋ ์์๋๋ก ์คํฐ ํ ํด๋ก์ง๋ฅผ ์ฌ๋ฐฐํฌ ํ ํ ์คํธ ํด๋ณด์๊ธฐ ๋ฐ๋๋๋ค. => ์๋์ ๊ฐ์ด ๋ฉ์์ง ๋์ต๋๋ค. [zk: localhost:2181(CONNECTED) 0] ls /brokers/topics/SmartCar-Topic/partitions/ Command failed: java.lang.IllegalArgumentException: Path must not end with / character --------------------------------------------------------- 8. ์คํฐ ํ ํด๋ก์ง ๋ฐฐํฌ => ์๋์ ๊ฐ์ด ๋ฉ์์ง ๋์ต๋๋ค. [root@server02 working]# storm jar bigdata.smartcar.storm-1.0.jar com.wikibook.bigdata.smartcar.storm.SmartCarTopology DriverCarInfo SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/home/pilot-pjt/apache-storm-1.2.3/lib/log4j-slf4j-impl-2.8.2.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/home/pilot-pjt/working/bigdata.smartcar.storm-1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: Actual binding is of type [org.apache.logging.slf4j.Log4jLoggerFactory] Running: java -client -Ddaemon.name= -Dstorm.options= -Dstorm.home=/home/pilot-pjt/apache-storm-1.2.3 -Dstorm.log.dir=/home/pilot-pjt/apache-storm-1.2.3/logs -Djava.library.path=/usr/local/lib:/opt/local/lib:/usr/lib -Dstorm.conf.file= -cp /home/pilot-pjt/apache-storm-1.2.3/*:/home/pilot-pjt/apache-storm-1.2.3/lib/*:/home/pilot-pjt/apache-storm-1.2.3/extlib/*:bigdata.smartcar.storm-1.0.jar:/home/pilot-pjt/storm/conf:/home/pilot-pjt/apache-storm-1.2.3/bin -Dstorm.jar=bigdata.smartcar.storm-1.0.jar -Dstorm.dependency.jars= -Dstorm.dependency.artifacts={} com.wikibook.bigdata.smartcar.storm.SmartCarTopology DriverCarInfo Error: Could not find or load main class com.wikibook.bigdata.smartcar.storm.SmartCarTopology
- 0
- 3
- 535
Q&A
Hbase์ ๋ฐ์ดํฐ ์ ์ฌ๊ฐ ๋์ง ์์ต๋๋ค...
์ ๋ ๋์ผ ์ฆ์์ธ๋ฐ ์์ ๊ฐ์ด๋ 3๋ฒ์ Storm UI ์์ ๋ณด๋ฉด ์นด์ดํธ๊ฐ ์ฆ๊ฐํ์ง ์๋๊ฒ ๊ฐ๊ณ 4๋ฒ์ ๋ฐ์ดํฐ๋ ์๋ค์ด์ค๋๊ฒ ๊ฐ์ต๋๋ค.
- 0
- 3
- 535
Q&A
install: cannot stat `redis-server': No such file or directory
๊ต์ก์๋ฃ์ ์๋ ๋ด์ฉ์ ์คํํด๋ ๋์ผํฉ๋๋ค. Tip. yum install ๋ช ๋ น์ "removing mirrorlist with no valid mirrors:.." ๋ฐ์ํ๋ฉด ์๋ ๋ช ๋ น ์คํ $ rm /etc/yum.repos.d/cloudera-manager.repo $ echo "http://vault.centos.org/6.10/os/x86_64/" > /var/cache/yum/x86_64/6/base/mirrorlist.txt $ echo "http://vault.centos.org/6.10/extras/x86_64/" > /var/cache/yum/x86_64/6/extras/mirrorlist.txt $ echo "http://vault.centos.org/6.10/updates/x86_64/" > /var/cache/yum/x86_64/6/updates/mirrorlist.txt
- 0
- 6
- 1K
Q&A
install: cannot stat `redis-server': No such file or directory
Redis ์ค์น์ ์ค๋ฅ๋ฉ๋๋ค. ----------------------------------------------------- login as: root root@192.168.56.102's password: Last login: Wed Aug 11 17:04:22 2021 from 192.168.56.1 [root@server02 ~]# yum install -y gcc* Loaded plugins: fastestmirror, refresh-packagekit, security Setting up Install Process Determining fastest mirrors YumRepo Error: All mirror URLs are not using ftp, http[s] or file. Eg. Invalid release/repo/arch combination/ removing mirrorlist with no valid mirrors: /var/cache/yum/x86_64/6/updates/mirrorlist.txt Error: Cannot find a valid baseurl for repo: updates [root@server02 ~]#
- 0
- 6
- 1K




