1

我只是设置了一个 EC2 集群并使用 AMI 设置了一个新实例:datastax_clustering_ami_2.5.1_hvm.manifest.xml (ami-7f33cd08) 在 m3.large 实例类型上。仔细按照说明进行操作,发现在过去的几周内有更多人报告了相同的错误。

启动时,它显示以下错误,并且在 OpsCenter 中,没有连接任何节点。这可能是因为以下错误导致设置未成功完成:

These notices occurred during the startup of this instance:
[ERROR] 03/06/15-11:46:24 sudo chown opscenter-agent:opscenter-agent /var/lib/datastax-agent/conf:
[ERROR] 03/06/15-11:46:26 sudo chown -R opscenter-agent:opscenter-agent /var/log/datastax-agent:
[ERROR] 03/06/15-11:46:26 sudo chown -R opscenter-agent:opscenter-agent /mnt/datastax-agent:
Exceptions             : 0
Exceptions             : 0
Exceptions             : 0
Exceptions             : 0
Exceptions             : 0

完整日志:

Using username "ubuntu".
Authenticating with public key "imported-openssh-key"
Last login: Fri Mar  6 12:28:22 2015 [*******************************]

Cluster started with these options:
For example: --clustername DSCcluster --totalnodes 1 --version community


Waiting for nodetool...
The cluster is now in it's finalization phase. This should only take a moment...

Note: You can also use CTRL+C to view the logs if desired:
    AMI log: ~/datastax_ami/ami.log
    Cassandra log: /var/log/cassandra/system.log


Datacenter: eu-west
===================
Status=Up/Down
|/ State=Normal/Leaving/Joining/Moving
--  Address       Load       Tokens  Owns    Host ID                               Rack
UN  172.31.30.32  193.04 KB  256     ?       [*******************************]  1a

Note: Non-system keyspaces don't have the same replication settings, effective ownership information is meaningless

Opscenter: http://[*******************************].compute.amazonaws.com:8888/
    Please wait 60 seconds if this is the cluster's first start...


Tools:
    Run: datastax_tools
Demos:
    Run: datastax_demos
Support:
    Run: datastax_support


------------------------------------
DataStax AMI for DataStax Enterprise
and DataStax Community
AMI version 2.5
DataStax Community version 2.1.3-1

------------------------------------


These notices occurred during the startup of this instance:
[ERROR] 03/06/15-11:46:24 sudo chown opscenter-agent:opscenter-agent /var/lib/datastax-agent/conf:
[ERROR] 03/06/15-11:46:26 sudo chown -R opscenter-agent:opscenter-agent /var/log/datastax-agent:
[ERROR] 03/06/15-11:46:26 sudo chown -R opscenter-agent:opscenter-agent /mnt/datastax-agent:
Exceptions             : 0
Exceptions             : 0
Exceptions             : 0
Exceptions             : 0
Exceptions             : 0

编辑:这里也报告了这个问题:https ://www.mail-archive.com/user@cassandra.apache.org/msg41111.html

4

2 回答 2

0

从理论上讲,您可以简单地卸载 datastax-agents,然后在每个节点上从头开始重新安装它们。自集群 AMI 很棒,但很多时候我都遇到了问题。另外,当您手动重新安装它们时,您可能会收到更详细的错误消息(如果您遇到任何错误消息)。

高温高压

罗马

于 2015-03-06T22:59:29.517 回答
0

您看到的错误可以被忽略并且不应该影响任何功能(如果不是这种情况,请告诉我)。这是一个已知问题,可称为 OPSC-4825

于 2015-03-17T14:27:20.577 回答