我已经安装了 DataStax OpsCenter (Apache Cassandra),在 OpsCenter 中出现错误:“0 of 1 个代理已连接”。当我单击“修复”,输入凭据并尝试安装节点时,出现错误:
无法通过 SSH 连接到某些主机
无法通过 SSH 连接到 127.0.0.1:未定义全局名称“get_output”
有谁知道如何解决它?
原因是 OpsCenter 找不到正确的 cassandra 配置文件 (cassandra.yaml)。
就我而言,我将 cassandra 安装到“D:\DataStax”而不是默认位置“C:\Program Files\DataStax Community”。添加conf_location
到opscenter\conf\clusters\local.conf
解决我的问题。
这是我的最终设置:
conf_location = [DataStax 安装目录]\apache-cassandra\conf\cassandra.yaml