我使用AWS数据管道导出DDB表,但是当我激活时出现错误:
Web service limit exceeded: Exceeded number of concurrent executions. Please set the field 'maxActiveInstances' to a higher value in your pipeline or wait for the currenly running executions to complete before trying again (Service: DataPipeline; Status Code: 400; Error Code: InvalidRequestException; Request ID: efbf9847-49fb-11e8-abef-1da37c3550b5)
如何使用AWS UI设置此maxActiveInstances
属性?
答案 0 :(得分:2)
我们也遇到了这个问题。对于按需管道,看起来像经过一定数量的重试之后,您必须给它一些时间来终止供应的资源,然后才能再次尝试。
解决方案:耐心。
答案 1 :(得分:1)
您可以将其设置为Ec2Resource [1](或EmrActivity [2])对象的属性。使用UI,单击Edit Pipeline,单击屏幕右侧的Resources(它是可折叠菜单)。应该有一个Ec2Resource对象。这个对象应该有一个下拉名为"添加一个额外的字段"你应该在下拉列表中看到最大活动实例。
[1] https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-object-ec2resource.html [2] https://docs.aws.amazon.com/datapipeline/latest/DeveloperGuide/dp-object-emractivity.html
答案 2 :(得分:0)
使用按需管道,您可以在“默认对象”中指定它,如下所示
{
"objects": [
{
"failureAndRerunMode": "CASCADE",
"scheduleType": "ONDEMAND",
"name": "Default",
"id": "Default",
"maxActiveInstances": "5"
},
...
我无法在 Architect 中添加它,我不得不从 json 创建另一个管道。但是一旦完成,我就可以在 Architect 中编辑它(在“其他”部分下)。