메뉴 건너뛰기

Bigdata, Semantic IoT, Hadoop, NoSQL

Bigdata, Hadoop ecosystem, Semantic IoT등의 프로젝트를 진행중에 습득한 내용을 정리하는 곳입니다.
필요한 분을 위해서 공개하고 있습니다. 문의사항은 gooper@gooper.com로 메일을 보내주세요.


1. rdate를 설치한다.
root@master:/app/hdd# apt-get install rdate
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  rdate
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 16.4 kB of archives.
After this operation, 65.5 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  rdate
Authentication warning overridden.
Get:1 http://ports.ubuntu.com/ubuntu-ports/ quantal/main rdate armhf 1:1.2-5 [16.4 kB]
Fetched 16.4 kB in 1s (13.9 kB/s)                  
Selecting previously unselected package rdate.
(Reading database ... 59871 files and directories currently installed.)
Unpacking rdate (from .../rdate_1%3a1.2-5_armhf.deb) ...
Processing triggers for man-db ...
Setting up rdate (1:1.2-5) ...
localepurge: Disk space freed in /usr/share/locale: 45316 KiB
localepurge: Disk space freed in /usr/share/man: 4252 KiB
localepurge: Disk space freed in /usr/share/gnome/help: 564 KiB
localepurge: Disk space freed in /usr/share/omf: 8 KiB

Total disk space freed by localepurge: 50140 KiB

2. 설정할 사이트의 주소를 이용하여 날자를 현재 시간과 동기화 한다.
root@master:/root# rdate -s time.nist.gov
 
 
3. CST를 KST로 적용하도록 변경
mv /etc/localtime /etc/localtime_old
cp /usr/share/zoneinfo/Asia/Seoul /etc/localtime
 
4. 시간을 hw에 기록
root@master:/root# hwclock -w
 
#확인
root@master:~# date
Sun Aug 24 22:26:58 CST 2014

 
# 주기적으로 실행하려면 root로 로그인하여 
crontab -e하여 아래 줄을 입력한다.
00 01 * * * /usr/bin/rdate -s time.nist.gov
00 01 * * * /sbin/hwclock -w
 
---------------time server list--------------
time.nist.gov
time.bora.net

* 참고 :rdate용 시간 제공 서버가 많이 없어짐 그래서 ntpdate를 이용하는 방법을 사용할것
-------------------------------------ntpdate사용-----------------
ntpdate time.nuri.net
ntpdate time.bora.net
번호 제목 글쓴이 날짜 조회 수
200 Master rejected startup because clock is out of sync 오류 해결방법 총관리자 2016.05.03 60
199 kafka broker기동시 brokerId가 달라서 기동에 실패하는 경우 조치방법 총관리자 2016.05.02 2331
198 kafka 0.9.0.1 for scala 2.1.1 설치및 테스트 총관리자 2016.05.02 412
197 solr 인스턴스 기동후 shard에 서버가 정상적으로 할당되지 않는 경우 해결책 총관리자 2016.04.29 654
196 collection생성시 -shards와 -replicationFactor값을 잘못지정하면 write.lock for client xxx.xxx.xxx.xxx already exists오류가 발생한다. 총관리자 2016.04.28 88
195 solrdf초기 기동시 "Caused by: java.lang.IllegalAccessError: tried to access field org.apache.solr.handler.RequestHandlerBase.log from class org.gazzax.labs.solrdf.handler.update.RdfUpdateRequestHandler" 오류가 발생시 조치사항 총관리자 2016.04.22 157
194 solrcloud에 solrdf1.1설치하고 테스트 하기 총관리자 2016.04.22 113
193 Spark 2.1.1 clustering(5대) 설치(YARN기반) 총관리자 2016.04.22 1882
192 Hadoop 완벽 가이드 정리된 링크 총관리자 2016.04.19 205
191 cumulusRDF 1.0.1설치및 "KeyspaceCumulus" keyspace확인하기 file 총관리자 2016.04.15 242
190 bin/cassandra -f -R로 startup할때 NullPointerException오류가 나면 조치할 내용 총관리자 2016.04.14 70
189 Cassandra 3.4(3.10) 설치/설정 (5대로 clustering) 총관리자 2016.04.11 397
188 딥러닝 수학/알고리즘 '한국어' 강의 총관리자 2016.04.10 110
187 서버 5대에 solr 5.5.0 설치하고 index data를 HDFS에 저장/search하도록 설치/설정하는 방법(SolrCloud) 총관리자 2016.04.08 656
186 서버 5대에 solr 5.5.0 설치하고 index data를 HDFS에 저장/search하도록 설치/설정하는 방법 총관리자 2016.04.08 54
185 failed to read local state, exiting...오류발생시 조치사항 총관리자 2016.04.06 141
184 elasticsearch 1.3.0에서 rdf및 hadoop plugin설치 총관리자 2016.04.06 108
183 Elastic Search For Hadoop 2.2.0설치하기(5대 클러스터링) 총관리자 2016.04.04 447
182 Incompatible clusterIDs오류 원인및 해결방법 총관리자 2016.04.01 490
181 namenode오류 복구시 사용하는 명령 총관리자 2016.04.01 375

A personal place to organize information learned during the development of such Hadoop, Hive, Hbase, Semantic IoT, etc.
We are open to the required minutes. Please send inquiries to gooper@gooper.com.

위로