簡體   English   中英

使用solrcloud時出現400錯誤的請求

[英]400 Bad Request when using solrcloud

任何人都可以幫我嗎,我想使用此代碼在AWS上創建solrcloud https://github.com/LucidWorks/solr-scale-tk我嘗試使用cmd [fab demo:demo1,n = 1]進行構建,得到以下錯誤我在連接到亞馬遜服務器后拉實例時遇到了這個問題。

錯誤:boto.exception.EC2ResponseError:EC2ResponseError:400錯誤的請求

感謝您的幫助

提前致謝

 root@adminuser-VirtualBox:/opt/febric/solr-scale-tk# fab demo:demo1,n=1 Going to launch 1 new EC2 m3.medium instances using AMI ami-8d52b9e6 Setup Instance store BlockDeviceMapping: /dev/sdb -> ephemeral0 Traceback (most recent call last): File "/usr/local/lib/python2.7/dist-packages/fabric/main.py", line 743, in main *args, **kwargs File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 427, in execute results['<local-only>'] = task.run(*args, **new_kwargs) File "/usr/local/lib/python2.7/dist-packages/fabric/tasks.py", line 174, in run return self.wrapped(*args, **kwargs) File "/opt/febric/solr-scale-tk/fabfile.py", line 1701, in demo ec2hosts = new_ec2_instances(cluster=demoCluster, n=n, instance_type=instance_type) File "/opt/febric/solr-scale-tk/fabfile.py", line 1163, in new_ec2_instances placement_group=placement_group) File "/usr/local/lib/python2.7/dist-packages/boto/ec2/connection.py", line 973, in run_instances verb='POST') File "/usr/local/lib/python2.7/dist-packages/boto/connection.py", line 1208, in get_object raise self.ResponseError(response.status, response.reason, body) boto.exception.EC2ResponseError: EC2ResponseError: 400 Bad Request <?xml version="1.0" encoding="UTF-8"?> <Response><Errors><Error><Code>InvalidParameterValue</Code><Message>Value () for parameter groupId is invalid. The value cannot be empty</Message></Error></Errors><RequestID>ca03b6d4-ce0e-46d3-99e3-ccad4a43c4ff</RequestID></Response> 

您需要在您的區域中創建一個安全組, 其名稱精確地稱為“ solr-scale-tk” ,並打開所需的端口。 請參考此博客,並按照“ 設置亞馬遜帳戶”部分中的說明進行操作。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM