我们按照概述here按照步骤在aws中部署dse。 在用户数据的高级详细信息下配置ec2实例详细信息并添加(用正确的凭据替换用户名和密码的值)
--clustername myDSEcluster --totalnodes 6 --version enterprise --username my_name
--password my_password --analyticsnodes 2 --searchnodes 2
ec2实例启动,但是,一旦我们连接到它,我们在日志中看到以下内容:
[INFO] 10/09/15-23:59:42 Reflector: Received 1 of 2 responses from: [u'172.31.7.164']
[ERROR] EC2 is experiencing some issues and has not allocated all of the resources in under 10 minutes.
Aborting the clustering of this reservation. Please try again.
[ERROR] Exception seen in ds1_launcher.py:
Traceback (most recent call last):
File "/home/ubuntu/datastax_ami/ds1_launcher.py", line 22, in initial_configurations
ds2_configure.run()
File "/home/ubuntu/datastax_ami/ds2_configure.py", line 1170, in run
File "/home/ubuntu/datastax_ami/ds2_configure.py", line 500, in get_seed_list
File "/home/ubuntu/datastax_ami/ds2_configure.py", line 57, in exit_path
AttributeError: EC2 is experiencing some issues and has not allocated all of the resources in under 10 minutes.
Aborting the clustering of this reservation. Please try again.
我们尝试使用不同的可用区域,然后使用不同的区域,但结果相同。
然后我们尝试使用以下用户数据并且工作正常:
--clustername myDSEcluster --totalnodes 1 --version enterprise --username my_name
--password my_password
搜索此类问题基本上导致了AWS所提出的AMI要求的资源不足的原因。
但是有没有其他方法可以在不重试的情况下对其进行排序,并希望AWS能够及时响应所请求的资源?