naver / arcus-zookeeper

ZooKeeper fork for ARCUS
Apache License 2.0
7 stars 12 forks source link

Change maven central repository url. #10

Closed SuhwanJang closed 4 years ago

SuhwanJang commented 4 years ago

현재 zookeeper 빌드시 maven central repository에 접근 불가하여 ivy 다운로드 실패합니다. 언제부터 url이 바뀌었는지 모르겠지만, https://mvnrepository.com/repos/central 에서 확인하여 url을 바꾸었습니다.

arcus bulid

ARCUS BUILD PROCESS: START
--------------------------
Working directory is /home/suhwan/arcus.
Detailed build log is recorded to scripts/build.log.
--------------------------
[git submodule init] .. SUCCEED
[git submodule update] .. SUCCEED
[server/config/autorun.sh] .. SUCCEED
[clients/c/config/autorun.sh] .. SUCCEED
[zookeeper/ant clean compile_jute bin-package] .. START^Ccd
Error has occurred. /home/suhwan/arcus/scripts/etc/autorun.sh has failed.

zookeeper 폴더에서 ant 수동 실행

Buildfile: build.xml

init:
 + s/c/build-contrib.xml
    [mkdir] Created dir: /home/suhwan/arcus-zookeeper/build/classes
    [mkdir] Created dir: /home/suhwan/arcus-zookeeper/build/lib
    [mkdir] Created dir: /home/suhwan/arcus-zookeeper/build/package/lib
    [mkdir] Created dir: /home/suhwan/arcus-zookeeper/build/test/lib

ivy-download:
      [get] Getting: http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar
      [get] To: /home/suhwan/arcus-zookeeper/src/java/lib/ivy-2.2.0.jar
      [get] Error getting http://repo2.maven.org/maven2/org/apache/ivy/ivy/2.2.0/ivy-2.2.0.jar to /home/suhwan/arcus-zookeeper/src/java/lib/ivy-2.2.0.jar

BUILD FAILED
java.net.UnknownHostException: repo2.maven.org
    at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:178)
        ...

@hyjun328, @jhpark816 리뷰 부탁드립니다.

hjyun328 commented 4 years ago

@SuhwanJang

리뷰 완료했습니다. 별 문제는 없습니다.

아래는 zookeeper 3.10 버전에서 적용된 repo 변경에 대한 내용입니다. 참고바랍니다. https://github.com/apache/zookeeper/commit/8bb13ba2f8fde163eb0b988ff308a7b347bda97b

SuhwanJang commented 4 years ago

@jhpark816 arcus 패키지에 주키퍼 서브모듈 업데이트 부탁드립니다.

jhpark816 commented 4 years ago

@SuhwanJang arcus repo의 zookeeper module 업데이트 하였습니다.