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).


Temporarily increase the timeout period for index management commands by setting an environment variable:

  • cqlsh: Before starting a cqlsh session, set the CQLSH_SEARCH_MANAGEMENT_TIMEOUT_SECONDS environment variable:
    Overrides the cqlsh --request-timeout setting.
  • dsetool: Before running an index management command, set the
    export JVM_OPTS=""
    Overrides the default timeout.