nodetool getfullquerylog — 풀 쿼리 로그(FQL) 설정 조회

nodetool getfullquerylog — 풀 쿼리 로그(FQL) 설정 조회

getfullquerylog 명령은 풀 쿼리 로그(Full Query Log, FQL)의 설정을 조회하는 nodetool 명령이에요. FQL이 활성화되어 있으면 현재 설정을, 아니면 cassandra.yaml에 반영된 설정을 보여 줍니다.

출처: nodetool getfullquerylog

본문

이 명령은 노드의 풀 쿼리 로그 설정을 출력해요. FQL이 활성화되어 있으면 실행 중인 설정이, 비활성화 상태라면 cassandra.yaml의 설정이 표시됩니다. enablefullquerylog로 활성화하고 disablefullquerylog로 비활성화할 수 있어요.

원문의 사용법은 다음과 같습니다.

NAME
        nodetool getfullquerylog - Print configuration of fql if enabled,
        otherwise the configuration reflected in cassandra.yaml
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>)] getfullquerylog
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 에이전트 사용자 이름을 지정해요.

더 알아보기