gpt4 book ai didi

amazon-ec2 - EC2 AMI 2.4/2.5 dsc20/dsc21 依赖问题

转载 作者:行者123 更新时间:2023-12-04 11:31:04 27 4
gpt4 key购买 nike

我正在尝试使用此 guidelines 创建一个 1 节点 Datastax 社区版集群在 EC2 m3.xlarge(欧盟西部)上。
这是提供的参数:

  --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

有没有人我做错了什么。
谢谢

最佳答案

依赖项存在错误 - 正如您所遇到的 - 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

关于amazon-ec2 - EC2 AMI 2.4/2.5 dsc20/dsc21 依赖问题,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29774659/

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com