Cassandra timeout during read query at consistency ONE

前端 未结 2 1734
借酒劲吻你
借酒劲吻你 2021-01-17 02:12

I have a problem with the cassandra db and hope somebody can help me. I have a table “log”. In the log table, I have inserted about 10000 rows. Everything works fine. I can

2条回答
  •  一整个雨季
    2021-01-17 02:54

    That error message indicates a problem with the READ operation. Most likely it is a READ timeout. You may need to update your Cassandra.yaml with a larger read timeout time as described in this SO answer.

    Example for 200 seconds:

    read_request_timeout_in_ms: 200000
    

    If updating that does not work you may need to tweak the JVM settings for Cassandra. See DataStax's "Tuning Java Ops" for more information

提交回复
热议问题