错误 - Apache Cassandra 2.0.5和Datastax OpsCenter 4.1

1 cassandra opscenter cassandra-2.0

我在Centos 6.5上使用cassandra 2.0.5,OpsCenter 4工作正常,直到我将OpsCenter更新到4.1版.我访问OpsCenter页面,单击管理现有集群并提供我的节点的IP地址(127.0.0.1),它给出了以下内容:"创建集群时出错:max()arg是一个空序列".

有线索吗?

Pet*_*day 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
Run Code Online (Sandbox Code Playgroud)
  1. 手动下载定义文件

用于tarball安装:

cd ./conf/definitions
Run Code Online (Sandbox Code Playgroud)

对于包安装:

cd /etc/opscenter/definitions
Run Code Online (Sandbox Code Playgroud)

应用最新定义

curl https://opscenter.datastax.com/definitions/4.1.0/definition_files.tgz | tar xz
Run Code Online (Sandbox Code Playgroud)

重启opscenterd