nodetool replaybatchlog — 배치 로그 재생
nodetool replaybatchlog — 배치 로그 재생
replaybatchlog 명령은 배치 로그(batchlog) 재생을 시작하고 완료될 때까지 기다리는 nodetool 명령이에요. 실패한 배치를 다시 처리할 때 씁니다.
본문
이 명령은 노드의 배치 로그 재생을 시작하고 완료까지 기다려요. 배치 쓰기가 실패한 뒤 남은 배치 로그를 다시 처리할 때 유용합니다.
원문의 사용법은 다음과 같습니다.
NAME
nodetool replaybatchlog - Kick off batchlog replay and wait for finish
SYNOPSIS
nodetool [(-h <host> | --host <host>)] [(-p <port> | --port <port>)]
[(-pp | --print-port)] [(-pw <password> | --password <password>)]
[(-pwf <passwordFilePath> | --password-file <passwordFilePath>)]
[(-u <username> | --username <username>)] replaybatchlog
OPTIONS
-h <host>, --host <host>
Node hostname or ip address
-p <port>, --port <port>
Remote jmx agent port number
-pp, --print-port
Operate in 4.0 mode with hosts disambiguated by port number
-pw <password>, --password <password>
Remote jmx agent password
-pwf <passwordFilePath>, --password-file <passwordFilePath>
Path to the JMX password file
-u <username>, --username <username>
Remote jmx agent username
이 명령은 인자를 받지 않는 단순 명령이라, 표준 연결 옵션만 사용해요.
-h <host>, --host <host>— 대상 노드의 호스트명 또는 IP 주소를 지정해요.-p <port>, --port <port>— 원격 JMX 에이전트 포트 번호를 지정해요.-pp, --print-port— 호스트를 포트 번호로 구분하는 4.0 모드로 동작해요.-pw <password>, --password <password>— 원격 JMX 에이전트 비밀번호를 지정해요.-pwf <passwordFilePath>, --password-file <passwordFilePath>— JMX 비밀번호 파일의 경로를 지정해요.-u <username>, --username <username>— 원격 JMX 에이전트 사용자 이름을 지정해요.
더 알아보기
- nodetool nodetool — nodetool 명령 개요
- Cassandra 배치(batch) — 배치 쓰기 개념