gettimeout

This provides the timeout in milliseconds for read, range, write, counterwrite, cascontention, truncate, steamingsocket, and rpc on the current Cassandra node. This can be configured, but would require a restart of Cassandra for that config to be reflected. This can also be increased using settimeout, but it would be reset when Cassandra is restarted. However, it can be used as a quick fix during issues with nodes or while bootstrapping a node:

$CASSANDRA_HOME/bin/nodetool gettimeout <timeoutType>

The output of the preceding code is as follows:

Figure 7.17: gettimeout

Get Mastering Apache Cassandra 3.x - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.