nodetool settimeout — 세부 작업 타임아웃 설정

nodetool settimeout — 세부 작업 타임아웃 설정

이 명령은 특정 타입의 작업(mutate, read, range, counter 등)에 적용되는 타임아웃을 밀리초(ms) 단위로 설정해요. 0을 주면 해당 타임아웃을 비활성화(무제한)합니다. 클러스터 워크로드에 맞춰 개별 작업 타임아웃을 세밀하게 튜닝할 때 사용합니다.

출처: nodetool settimeout — 세부 작업 타임아웃 설정

본문

실제 사용 구문은 아래와 같아요. 옵션 설명은 명령의 도움말(usage)을 그대로 옮긴 것이니, 실행 환경에 맞춰 필요한 옵션만 골라 사용하면 됩니다.

NAME
        nodetool settimeout - Set the specified timeout in ms, or 0 to disable
        timeout

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>)] settimeout [--] <timeout_type>
                <timeout_in_ms>

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

        --
            This option can be used to separate command-line options from the
            list of argument, (useful when arguments might be mistaken for
            command-line options

        <timeout_type> <timeout_in_ms>
            Timeout type followed by value in ms (0 disables socket streaming
            timeout). Type should be one of (read, range, write, counterwrite,
            cascontention, truncate, internodeconnect, internodeuser,
            internodestreaminguser, misc (general rpc_timeout_in_ms))

더 알아보기 (Learn more)