客戶端使用Hector lib。
報All host pools marked down. Retry burden pushed out to client.錯誤。
但實際上cassandra服務是啓動並可用的,此錯誤信息不正確!
我的問題是因一次性保存數據過大引起。
只需要配置cassandra.yaml參數thrift_max_message_length_in_mb,默認爲16M。
修改爲1024
thrift_max_message_length_in_mb: 1024
相關聯的參數:
thrift_framed_transport_size_in_mb: 1023
幀(frame)傳送的大小(thrift_max_message_length_in_mb不能小於此值,多1m足夠了)。