openwares.net

Freedom & Beauty

  • Home
  • About
  • Tags
  • Categories
  • Archives
  • Search
  • Table of Contents
  • Overview

openwares

open source and free matters
994 posts
18 categories
42 tags
0%

cqlsh操作超时

Posted on 2016-07-09 Edited on 2025-05-19 In Database

执行cqlsh查询:

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

时出现错误提示:

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

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

1
2
\[connection\]
request_timeout = 120 # seconds

===
[erq]

# cassandra
activemq debian 自启动配置
cassandra copy导入数据时batch too large错误
© 2025 openwares
Powered by Hexo & NexT.Muse