[英]Overriding AWS auto scaling policy with Lambda function
[英]Validation error on AWS EMR with managed scaling policy
我正在尝试通过带有 python 的 boto3 客户端在 AWS EMR 中使用新的托管扩展策略。 我的进程从 json 文件中读取配置,并且在运行集群时出现以下错误:
botocore.exceptions.ParamValidationError: Parameter validation failed:
Unknown parameter in input: "ManagedScalingPolicy", must be one of: Name, LogUri, AdditionalInfo, AmiVersion, ReleaseLabel, Instances, Steps, BootstrapActions, SupportedProducts, NewSupportedProducts, Applications, Configurations, VisibleToAllUsers, JobFlowRole, ServiceRole, Tags, SecurityConfiguration, AutoScalingRole, ScaleDownBehavior, CustomAmiId, EbsRootVolumeSize, RepoUpgradeOnBoot, KerberosAttributes, StepConcurrencyLevel
托管扩展策略位于 json 文件的根目录中。 boto3 的文档说这是正确的地方。
错误在哪里?
问题解决了,是boto3版本的问题。 用 pip 更新 boto3 解决了这个问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.