메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

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


최초 clone등의 작업을 할때 github.com에 대한 권한이 없어서 발생하는 문제로 SSH를 생성하여 github.com에 등록하여준다. 



1.public/private rsa key 생성
ssh-keygen -t rsa -b 4096 -C "gooper@gooper.com"


2. key를 ssh-agent에 추가
가. ssh-agent가 사용가능한지 확인
eval "$(ssh-agent -s)"

나. SSH 키를 ssh-agent에 추가
ssh-add ~/.ssh/id_rsa


3. SSH 키를 계정에 추가
가. xclip설치
apt-get install xclip

나. id_rsa.pub내용를 clipboard에 복사
xclip -sel clip < ~/.ssh/id_rsa.pub


4. 복사된 key를 GitHub에 등록
Settings->SSH and GPG keys->New SSH key->key는 clipboard에 있으므로 ctrl+v해서 빈칸에 값을 집어넣음->Add key


------------------clone을 시도했을때 발생하는 오류--------------------

gooper@gsda1:/home/gooper$ git clone git@github.com:lagom/online-auction-java.git
Cloning into 'online-auction-java'...
The authenticity of host 'github.com (XXX.XXX.XXX.XXX)' can't be established.
RSA key fingerprint is SHA256:.......
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,XXX.XXX.XXX.XXX' (RSA) to the list of known hosts.
Permission denied (publickey).
fatal: Could not read from remote repository.

Please make sure you have the correct access rights
and the repository exists.

번호 제목 날짜 조회 수
450 halyard 1.3의 console을 이용하여 100억건의 데이타에 대한 쿼리수행시 ScannerTimeoutException 발생시 조치사항 2017.09.06 3647
449 hadoop cluster구성된 노드를 확인시 Capacity를 보면 색이 붉은색으로 표시되어 있는 경우나 Unhealthy인 경우 처리방법 2017.08.30 3114
448 파일은 남겨두고 파일 내용만 지우고자 할 때. 2017.08.30 2709
447 RDF4J의 RESTFul API처리 클래스 소스 파악(web module위주) 2017.08.30 2975
446 RDF4J의 rdf4j-server.war가 제공하는 RESTFul API를 이용한 CRUD테스트(트랜잭션처리) 2017.08.30 3517
445 RDF4J의 rdf4j-server.war가 제공하는 RESTFul API를 이용하여 repository에 CRUD테스트 2017.08.30 3592
444 DeviceType이 o:motion-sensor_33 이거나 o:motion-sensor_32 경우의 sparql문장은 다음과 같다. 2017.08.16 3704
443 [oneM2M]Ontologies used for oneM2M 2017.08.02 3702
442 Windows7 64bit 환경에서 Apache Spark 2.2.0 설치하기 2017.07.26 4398
441 Windows7 64bit 환경에서 Apache Hadoop 2.7.1설치하기 2017.07.26 4206
440 jena/fuseki 3.4.0 설치 2017.07.25 3630
439 LUBM 데이타 생성구문 2017.07.24 7512
438 Core with name 'xx_shard4_replica1' already exists. 발생시 조치사항 2017.07.22 2667
437 9대가 hbase cluster로 구성된 서버에서 테스트 data를 halyard에 적재하고 테스트 하는 방법및 절차 2017.07.21 4733
436 갑자기 DataNode가 java.io.IOException: Premature EOF from inputStream를 반복적으로 발생시키다가 java.lang.OutOfMemoryError: Java heap space를 내면서 죽는 경우 조치방법 2017.07.19 4903
435 Current heap configuration for MemStore and BlockCache exceeds the threshold required for successful cluster operation 2017.07.18 3665
434 HBase 설정 최적화하기(VCNC) file 2017.07.18 3166
433 HBase write 성능 튜닝 file 2017.07.18 2703
432 schema.xml vs managed-schema 지정 사용하기 - 두개를 동시에 사용할 수는 없음 2017.07.09 3436
431 halyard의 console스크립트에서 생성한 repository는 RDF4J Web Applications에서 공유가 되지 않는다. 2017.07.05 4039
위로