All host pools marked down. Retry burden pushed out to client.問題

客戶端使用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足夠了)。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章