我正在尝试在EC2 m3.xlarge(eu-west)上使用此guidelines创建1节点Datastax社区版集群。 以下是提供的参数:
--clustername cassandra
--totalnodes 1
--version community
如指南所述,我打开了这些端口:
22
8888
1024-65355
这是我在〜/ datastax_ami / ami.log中找到的错误:
The following packages have unmet dependencies:
dsc20 : Depends: cassandra (= 2.0.14) but 2.1.4 is to be installed
[ERROR] 04/21/15-12:58:29 sudo service cassandra stop:
cassandra: unrecognized service
[EXEC] 04/21/15-12:58:29 sudo rm -rf /var/lib/cassandra
[EXEC] 04/21/15-12:58:29 sudo rm -rf /var/log/cassandra
[EXEC] 04/21/15-12:58:29 sudo mkdir -p /var/lib/cassandra
[EXEC] 04/21/15-12:58:29 sudo mkdir -p /var/log/cassandra
[ERROR] 04/21/15-12:58:29 sudo chown -R cassandra:cassandra /var/lib/cassandra:
chown: invalid user: `cassandra:cassandra'
[ERROR] 04/21/15-12:58:29 sudo chown -R cassandra:cassandra /var/log/cassandra:
chown: invalid user: `cassandra:cassandra'
[INFO] Reflector loop...
[INFO] 04/21/15-12:58:29 Reflector: Received 1 of 1 responses from: [u'172.31.46.236']
[INFO] Seed list: set([u'172.31.46.236'])
[INFO] OpsCenter: 172.31.46.236
[INFO] Options: {'username': None, 'cfsreplication': None, 'heapsize': None, 'reflector': None, 'clustername': 'cassandra', 'analyticsnodes': 0, 'seed_indexes': [0, 1, 1], 'realtimenodes': 1, 'java7': None, 'opscenter': 'no', 'totalnodes': 1, 'searchnodes': 0, 'release': None, 'opscenterinterface': None, 'version': 'community', 'dev': None, 'customreservation': None, 'password': None, 'email': None, 'raidonly': None, 'javaversion': None}
[ERROR] Exception seen in ds1_launcher.py:
Traceback (most recent call last):
File "/home/ubuntu/datastax_ami/ds1_launcher.py", line 33, in initial_configurations
ds2_configure.run()
File "/home/ubuntu/datastax_ami/ds2_configure.py", line 1058, in run
File "/home/ubuntu/datastax_ami/ds2_configure.py", line 521, in construct_yaml
IOError: [Errno 2] No such file or directory: '/etc/cassandra/cassandra.yaml'
相关GitHub问题:Add support for DSC 2.2 Versions #81
有没有人我做错了什么。 感谢
答案 0 :(得分:1)
依赖项存在错误 - 正如您遇到的那样 - Add support for DSC 2.2 Versions #81并在AMI 2.5中得到修复。
因此请务必使用新的AMI。 不要使用:
DataStax Auto-Clustering AMI
这是AMI 2.4版本,而不是使用:
DataStax Auto-Clustering AMI 2.5.1-pv
或
DataStax Auto-Clustering AMI 2.5.1-hvm
答案 1 :(得分:0)
提交修复程序已致力于dev-2.5和dev-2.6。今天将测试并在今天发布。