将DSE 5.1.10升级到DSE 6.8.2

时间:2020-09-29 17:16:32

标签: docker dse

我正在构建以下docker容器

sudo docker run -e DS_LICENSE=accept --name my-dse -v /dse_data:/var/lib/cassandra -d datastax/dse-server:5.1.10 -k

然后,我设置了表结构,然后在如下所示的相同安装上启动了DSE-Server 6.8.2

sudo docker run -e DS_LICENSE=accept --name my-dse-neu -v /dse_data:/var/lib/cassandra -d datastax/dse-server:6.8.2 -k

我收到以下错误

ERROR [DSE main thread] 2020-09-25 08:29:48,752 CassandraDaemon.java:901 - Compact Tables are not allowed in Cassandra starting with 4.0 version. In order to migrate off Compact Storage, downgrade to the latest DSE 5.0/5.1, start the node with `-Dcassandra.commitlog.ignorereplayerrors=true` passed on the command line or in jvm*-server.options, and run the following commands:


ALTER TABLE "HiveMetaStore".sparkmetastore DROP COMPACT STORAGE;

ALTER TABLE cfs_archive.cleanup DROP COMPACT STORAGE;

ALTER TABLE cfs_archive.inode DROP COMPACT STORAGE;

ALTER TABLE cfs_archive.rules DROP COMPACT STORAGE;

ALTER TABLE cfs_archive.sblocks DROP COMPACT STORAGE;

ALTER TABLE cfs.cleanup DROP COMPACT STORAGE;

ALTER TABLE cfs.inode DROP COMPACT STORAGE;

ALTER TABLE cfs.rules DROP COMPACT STORAGE;

ALTER TABLE cfs.sblocks DROP COMPACT STORAGE;


Then restart the node with the new DSE version without `-Dcassandra.commitlog.ignorereplayerrors=true`.

如何使用-Dcassandra.commitlog.ignorereplayerrors=true重新启动我的DSE容器?您认为可以解决问题吗?

0 个答案:

没有答案
相关问题