Adjusting timeout for index management
When running search index management commands on large datasets using cqlsh or dsetool, the process might take longer than the default timeout period (10 minutes).
Procedure
Temporarily increase the timeout period for index management commands by setting an environment variable:
-
cqlsh: Before starting acqlshsession, set theCQLSH_SEARCH_MANAGEMENT_TIMEOUT_SECONDSenvironment variable:export CQLSH_SEARCH_MANAGEMENT_TIMEOUT_SECONDS=900;
Overrides the
cqlsh --request-timeoutsetting. -
dsetool: Before running an index management command, set thedse.search.client.timeout.secs:export JVM_OPTS="-Ddse.search.client.timeout.secs=900"
Overrides the default timeout.