我只是设置了一个 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