【问题标题】:Error - Apache Cassandra 2.0.5 & Datastax OpsCenter 4.1错误 - Apache Cassandra 2.0.5 和 Datastax OpsCenter 4.1
【发布时间】:2014-03-05 23:50:27
【问题描述】:

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

有什么线索吗?

【问题讨论】:

标签: cassandra cassandra-2.0 opscenter


【解决方案1】:

该错误出现在 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

【讨论】:

    【解决方案2】:

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

    我也在使用 sam cassandra 版本,也在 centos 上

    【讨论】:

      猜你喜欢
      • 2013-08-05
      • 2016-11-04
      • 2016-12-05
      • 2016-08-27
      • 2015-10-17
      • 2016-07-17
      • 2016-11-21
      • 2016-06-26
      • 2014-08-25
      相关资源
      最近更新 更多