我正在Windows机器上运行Apache Cassandra 3.9(来自http://cassandra.apache.org/download/)。我想在单个表上启用加密。我正在使用dbeaver工具运行查询。
以下查询会引发错误。
alter table config_test
with compression = { 'sstable_compression' : 'Encryptor',
'cipher_algorithm' : 'AES/ECB/PKCS5Padding',
'secret_key_strength' : 128,
'chunk_length_kb' : 1};
错误是,
com.datastax.driver.core.exceptions.InvalidConfigurationInQueryException: Could not create Compression for type org.apache.cassandra.io.compress.Encryptor
com.datastax.driver.core.exceptions.InvalidConfigurationInQueryException: Could not create Compression for type org.apache.cassandra.io.compress.Encryptor