Cassandra版本:3.9,CQLSH版本:5.0.1
我可以使用cqlsh查询Cassandra配置(cassandra.yaml)吗
发布于 2020-07-24 14:47:32
不,这在你的版本中是不可能的。只有从Cassandra4.0开始才有可能,它有所谓的虚拟表,并且有一个特殊的表用于配置:system_views.settings
cqlsh:test> select * from system_views.settings ;
name | value
-------------------------------------------------+-------
transparent_data_encryption_options_enabled | false
transparent_data_encryption_options_iv_length | 16
trickle_fsync | false
trickle_fsync_interval_in_kb | 10240
truncate_request_timeout_in_ms | 60000
....您可以在following blog post from TLP中找到有关虚拟表的更多信息。
同时,您可以通过JMX访问配置参数。
https://stackoverflow.com/questions/63068006
复制相似问题