Adjusting timeout for index management
Increase the timeout period when working with large datasets.
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 acqlsh
session, set the CQLSH_SEARCH_MANAGEMENT_TIMEOUT_SECONDS environment variable:export CQLSH_SEARCH_MANAGEMENT_TIMEOUT_SECONDS=900;
Overrides thecqlsh --request-timeout
setting. -
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.