Skip to content

Comments

REFACTOR: refactor 'zookeeper init' to initialize ZooKeeper config files#21

Closed
singsangssong wants to merge 1 commit intodevelopfrom
task/init
Closed

REFACTOR: refactor 'zookeeper init' to initialize ZooKeeper config files#21
singsangssong wants to merge 1 commit intodevelopfrom
task/init

Conversation

@singsangssong
Copy link
Contributor

🔗 Related Issue

⌨️ What I did

  • arcus-cli에서 zookeeper init의 'Arcus ZK를 위한 기본 znode 초기화'를 'ZooKeeper 앙상블의 config 파일(myid, zoo.cfg) 초기화'로 변경합니다.
    • 기존 환경변수 ZK_ADDR은 단일 ZK주소만을 받는 의미이기에, ZK_LIST로 변수명을 변경합니다.
  • zookeeper init
    • ZK_LIST의 각 zk IP주소마다 ssh를 통해 원격접속합니다.
    • 해당 서버에서 myid와 zoo.cfg파일을 생성합니다. (이때, 한번의 명령어로 실행하도록 하여 하나의 세션으로 묶어서 수행합니다.)

@singsangssong
Copy link
Contributor Author

singsangssong commented Oct 2, 2025

위 이슈에서 선언형 인터페이스로 설계가 변경되었습니다. 이에 명령형 인터페이스에 관한 PR이므로 해당 PR를 닫겠습니다.

@singsangssong singsangssong deleted the task/init branch October 10, 2025 08:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant