开发者社区 问答 正文

E-MapReduce增加节点组报错

已解决

E-MapReduce增加节点组报错NodeGroup.SystemDisk.Category is mandatory for this action

展开
收起
阿里云服务支持 2022-12-06 13:27:34 164 分享 版权
2 条回答
写回答
取消 提交回答
  • 官方回答

    E-MapReduce增加节点组报错NodeGroup.SystemDisk.Category is mandatory for this action的解决方法为,在多选选择实例类型的时候,需要有相同类型的系统盘的实例类型才可以创建。

    2022-12-06 14:23:48
    赞同 展开评论
  • 网站:http://ixiancheng.cn/ 微信订阅号:小马哥学JAVA

    具体可以参考文档:https://help.aliyun.com/document_detail/454401.html 里面有详细的请求参数以及报错的问题点:比如说实例的传参: { "NodeGroup": { "ZoneId": "cn-beijing-h", "NodeGroupId": "ng-869471354ecd****", "NodeGroupName": "core-1", "NodeGroupType": "CORE", "RunningNodeCount": 3, "InstanceTypes": [ "" ], "PaymentType": "PayAsYouGo", "DataDisks": [ { "Category": "cloud_essd", "Size": 80, "PerformanceLevel": "PL1", "Count": 5 } ], "SystemDisk": { "Category": "cloud_essd", "Size": 60, "PerformanceLevel": "PL1", "Count": 1 }, "NodeGroupState": "CREATED", "AdditionalSecurityGroupIds": [ "" ], "WithPublicIp": true, "VSwitchIds": [ "" ], "SpotStrategy": "NoSpot", "SpotBidPrices": [ { "InstanceType": "ecs.g7.2xlarge", "BidPrice": 1000 } ], "StateChangeReason": { "Code": "MissingParameter", "Message": "The instance type is required." }, "MinimalNodeCount": 0, "MaximalNodeCount": 200, "GracefulShutdown": true, "SpotInstanceRemedy": true, "NodeResizeStrategy": "PRIORITY", "CostOptimizedConfig": { "OnDemandBaseCapacity": 80, "OnDemandPercentageAboveBaseCapacity": 80, "SpotInstancePools": 2 }, "DeploymentSetStrategy": "NONE", "AutoCompensateState": true }, "RequestId": "DD6B1B2A-5837-5237-ABE4-FF0C8944****" }

    2022-12-06 14:09:52
    赞同 展开评论