我正在使用apt在debian上安装Cassandra 1.2.3,我之前使用的是tarball 1.1.7安装.安装后我将分区器从Murmur3Partitioner更改为cassandra.yaml中的RandomPartitioner,如下所示:
partitioner:org.apache.cassandra.dht.RandomPartitioner
然后在开始时我看到不兼容的系统键空间错误如下:
错误18:22:11,465无法打开/ var/lib/cassandra/data/system/schema_keyspaces/system-schema_keyspaces-ib-1; 分区器org.apache.cassandra.dht.Murmur3Partitioner与系统分区器org.apache.cassandra.dht.RandomPartitioner不匹配.请注意,以Cassandra 1.2开头的默认分区程序是Murmur3Partitioner,因此如果需要升级,则需要对其进行编辑以匹配旧分区程序.服务出口,返回值为1
如何将系统键空间设置为RandomPartitioner?我已经尝试清除数据文件夹,apt-get remove,apt-get purge然后重新安装,更改为RandomPartitioner然后启动cassandra但它仍然失败.我也在我的ubuntu桌面上复制了这个,所以我想我在这里做错了.
任何帮助表示赞赏!
干杯
山姆
cassandra ×1