메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

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


git에서 작업하는 동안에 .gitignore파일에 지정하지 않은 파일이 ignore되는 경우가 있는데.. 

Git Bash에서 check-ignore명령을 이용하여 rule파일과 적용된 파일을 확인할 수 있다.


가. ignore가 불필요한 파일을 add해본다(예, /C/dev/workspace/sdaf/sda-common/src/main/resources/mariadb/mapper/sch/Aggr_SQL.xml


$ git add /C/dev/workspace/sdaf/sda-common/src/main/resources/mariadb/mapper/sch/Aggr_SQL.xml

The following paths are ignored by one of your .gitignore files:

sda-common/src/main/resources/mariadb/mapper/sch/Aggr_SQL.xml

Use -f if you really want to add them.


나. ignore가 불필요한 파일을 폴더를 add해본다(예, /C/dev/workspace/sdaf/sda-common/src/main/resources/*.*)

$ git add /C/dev/workspace/sdaf/sda-common/src/main/resources/*

The following paths are ignored by one of your .gitignore files:

sda-common/src/main/resources/log4j.xml

sda-common/src/main/resources/mybatis-config.xml

Use -f if you really want to add them.


다. check-ignore 명령을 이용하면 rule파일과 적용된 파일을 매핑하여 볼 수 있다.

$ git check-ignore -v /C/dev/workspace/sdaf/sda-common/src/main/resources/*.*

"C:\Users\gooper\Documents\gitignore_global.txt":28:*.xml   C:/dev/workspace/sdaf/sda-common/src/main/resources/log4j.xml

"C:\Users\gooper\Documents\gitignore_global.txt":28:*.xml   C:/dev/workspace/sdaf/sda-common/src/main/resources/mybatis-config.xml

번호 제목 날짜 조회 수
321 cassandra cluster 문제가 있는 node제거 하기(DN상태의 노드가 있으면 cassandra cluster 전체에 문제가 발생하므로 반드시 제거할것) 2017.06.21 451
320 Not enough replica available for query at consistency QUORUM가 발생하는 경우 2017.06.21 410
319 http://blog.naver.com... 2017.06.23 179
318 elasticsearch 기동시 permission denied on key 'vm.max_map_count' 오류발생시 조치사항 2017.06.23 508
317 solr 6.2에 한글 형태소 분석기(arirang 6.x) 적용 및 테스트 file 2017.06.27 1007
316 mysql에서 외부 디비를 커넥션할 경우 접속 속도가 느려질때 2017.06.30 1419
315 solr명령 실행시 "Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect" 오류발생 2017.06.30 414
314 python test.py실행시 "ImportError: No module named pyspark" 혹은 "ImportError: No module named py4j.protocol"등의 오류 발생시 조치사항 2017.07.04 866
313 halyard 1.3을 다른 서버로 이전하는 방법 2017.07.05 422
312 halyard 1.3의 rdf4j-server.war와 rdf4j-workbench.war를 tomcat deploy후 조회시 java.lang.NoClassDefFoundError: org/apache/hadoop/hbase/Cell발생시 조치사항 2017.07.05 173
311 halyard의 console스크립트에서 생성한 repository는 RDF4J Web Applications에서 공유가 되지 않는다. 2017.07.05 515
310 schema.xml vs managed-schema 지정 사용하기 - 두개를 동시에 사용할 수는 없음 2017.07.09 368
309 HBase write 성능 튜닝 file 2017.07.18 182
308 HBase 설정 최적화하기(VCNC) file 2017.07.18 246
307 Current heap configuration for MemStore and BlockCache exceeds the threshold required for successful cluster operation 2017.07.18 1132
306 갑자기 DataNode가 java.io.IOException: Premature EOF from inputStream를 반복적으로 발생시키다가 java.lang.OutOfMemoryError: Java heap space를 내면서 죽는 경우 조치방법 2017.07.19 1833
305 9대가 hbase cluster로 구성된 서버에서 테스트 data를 halyard에 적재하고 테스트 하는 방법및 절차 2017.07.21 140
304 Core with name 'xx_shard4_replica1' already exists. 발생시 조치사항 2017.07.22 150
303 LUBM 데이타 생성구문 2017.07.24 220
302 jena/fuseki 3.4.0 설치 2017.07.25 428
위로