thrift_max_message_length_in_mb not recognized Cassandra

后端 未结 1 1588
遇见更好的自我
遇见更好的自我 2021-01-05 15:39

I am having problems trying to query a wide row in Cassandra 1.2.4 When I tried to query the row using the Cassandra-cli, I obtain this error:

Frame size (75209759)

1条回答
  •  借酒劲吻你
    2021-01-05 16:13

    The max frame size needs to be set on the client too, and unfortunately it is hardcoded to 15 MB in cassandra-cli.

    In general, it is much better to use paging and small messages than querying large amounts at once. You would have to significantly increase the timeout to be able to retrieve 1 GB of data and this would have other side effects.

    Unfortunately cassandra-cli doesn't support retrieving part of a row. You can use cqlsh and use a paging CQL query or quickly write some python code using e.g. pycassa that would page through the columns.

    0 讨论(0)
提交回复
热议问题