1

我在 Centos 6.5 上使用 cassandra 2.0.5 并且 OpsCenter 4 运行良好,直到我将 OpsCenter 更新到版本 4.1 。我访问 OpsCenter 页面,单击管理现有集群并提供我的节点的 IP 地址 (127.0.0.1),它给了我以下信息:“创建集群时出错:max() arg 是一个空序列”。

有什么线索吗?

4

2 回答 2

5

该错误在 4.1.0 上,并且正在影响那些运行 Python 2.6 的人。对此的完整修复是 4.1.1 ( http://www.datastax.com/dev/blog/opscenter-4-1-1-now-available )。要在 4.1.0 上解决此问题,用户应禁用自动更新功能,并手动重新填充最新定义。这只需要执行一次。4.1.1 不需要这样做,这是最好的解决方法。请参阅发行说明的已知问题 ( http://www.datastax.com/documentation/opscenter/4.1/opsc/release_notes/opscReleaseNotes410.html )

  1. 将以下内容添加到 opscenterd.conf 以禁用自动更新:
[definitions]
auto_update = False
  1. 手动下载定义文件

对于 tarball 安装:

cd ./conf/definitions

对于包安装:

cd /etc/opscenter/definitions

应用最新定义

curl https://opscenter.datastax.com/definitions/4.1.0/definition_files.tgz | tar xz

重启 opscenterd

于 2014-02-27T22:30:59.123 回答
0

我今天刚遇到和你一样的问题。我从http://rpm.datastax.com/community/noarch/下载了旧版本的 opscenter(特别是 4.0.2 版)并且错误消失了。

我也在使用 sam cassandra 版本和 centos

于 2014-02-27T13:28:30.983 回答