Я обновляю DSE cassndra с 4.8.16 до 5.0.15, но когда я выполняю nodetool upgradesstables
, я получаю следующую ошибку:
error: commitlog directory '/var/lib/cassandra/commitlog' or, if it does not already exist, an existing parent directory of it, is not readable and writable for the DSE. Check file system and configuration.
-- StackTrace --
org.apache.cassandra.exceptions.ConfigurationException: commitlog directory '/var/lib/cassandra/commitlog' or, if it does not already exist, an existing parent directory of it, is not readable and writable for the DSE. Check file system and configuration.
at org.apache.cassandra.config.DatabaseDescriptor.resolveAndCheckDirectory(DatabaseDescriptor.java:798)
at org.apache.cassandra.config.DatabaseDescriptor.applyConfig(DatabaseDescriptor.java:535)
at org.apache.cassandra.config.DatabaseDescriptor.<clinit>(DatabaseDescriptor.java:131)
at org.apache.cassandra.tools.NodeProbe.checkJobs(NodeProbe.java:274)
at org.apache.cassandra.tools.NodeProbe.upgradeSSTables(NodeProbe.java:328)
at org.apache.cassandra.tools.nodetool.UpgradeSSTable.execute(UpgradeSSTable.java:54)
at org.apache.cassandra.tools.NodeTool$NodeToolCmd.run(NodeTool.java:253)
at org.apache.cassandra.tools.NodeTool.main(NodeTool.java:167)
nodetool
не может работать с каталогом/var/lib/cassandra/commitlog
. Каковы разрешения/var/lib/cassandra/commitlog
? - person Jim Wright   schedule 20.11.2018nodetool
явно использует/var/lib/cassandra/commitlog
. Каково значениеcommitlog_directory
вcassandra.yaml
? - person Jim Wright   schedule 20.11.2018nodetool
не пользуется вашимcassandra.yaml
. Возможно, вы обновили не тот файл? - person Jim Wright   schedule 20.11.2018