我只是在m3.large实例类型上使用AMI设置EC2集群并设置新实例:datastax_clustering_ami_2.5.1_hvm.manifest.xml(ami-7f33cd08)。仔细按照说明进行操作,发现在过去几周内有更多人报告了相同的错误。
在启动时,它显示以下错误,并且在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
答案 0 :(得分:0)
理论上,您可以简单地卸载datastax-agents,然后在每个节点上从头开始reinstall。自我聚类AMI很棒,但很多时候我都遇到过问题。另外,当您手动重新安装它们时,您可能会收到更详细的错误消息(如果您遇到任何错误消息)。
HTH
罗马
答案 1 :(得分:0)
您看到的错误可以忽略,不应影响任何功能(如果不是这样,请告诉我)。这是一个已知问题,可以引用为OPSC-4825