cassanra medusa错误:此错误发生在备份期间:[errno 2]没有这样的文件或目录:“nodetool”

bwntbbo3  于 2021-06-10  发布在  Cassandra
关注(0)|答案(1)|浏览(709)

我正在使用cassandra 3.11和cassandra medusa 0.4.1 cassandra,位于:/usr/share/cassandra
它显示:
美杜莎备份--备份名称=22012020

[2020-01-22 16:38:38] INFO: Monitoring provider is noop
[2020-01-22 16:38:38] WARNING: is ccm : 0
[2020-01-22 16:38:38] INFO: Creating snapshot
[2020-01-22 16:38:38] INFO: Saving tokenmap and schema
[2020-01-22 16:38:38] INFO: Node local does not have latest backup
[2020-01-22 16:38:38] INFO: Starting backup
[2020-01-22 16:38:38] ERROR: This error happened during the backup: [Errno 2] No such file or directory: 'nodetool'
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/site-packages/medusa/backup.py", line 274, in main
    cassandra, node_backup, storage, differential_mode, config)
wfveoks0

wfveoks01#

美杜莎没有选项来指定 nodetool 命令,所以它只希望在 PATH -您需要将cassandra安装的路径添加到 PATH ,美杜莎会找到的。

相关问题