cqlsh操作超时

执行cqlsh查询:

cqlsh:xxx> select count(*) from image;

时出现错误提示:

OperationTimedOut: errors={}, last_host=x.x.x.x

在~/.cassandra/cqlshrc中设置客户端超时时间即可:

[connection]
request_timeout = 120 # seconds

===
[erq]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.