【问题标题】:Validation error on AWS EMR with managed scaling policy使用托管扩展策略的 AWS EMR 上的验证错误
【发布时间】:2020-08-06 23:35:17
【问题描述】:

我正在尝试通过带有 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 的文档说这是正确的地方。

哪里出错了?

【问题讨论】:

    标签: python json amazon-web-services amazon-emr


    【解决方案1】:

    问题解决了,是boto3版本的问题。用 pip 更新 boto3 解决了这个问题。

    【讨论】:

    • 你能在这里分享策略的 JSON 表示吗?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2019-05-27
    • 2021-09-14
    • 2021-08-07
    • 2023-03-21
    • 2021-12-24
    • 2021-10-18
    • 2013-02-06
    相关资源
    最近更新 更多