E-MapReduce增加节点组报错NodeGroup.SystemDisk.Category is mandatory for this action
E-MapReduce增加节点组报错NodeGroup.SystemDisk.Category is mandatory for this action的解决方法为,在多选选择实例类型的时候,需要有相同类型的系统盘的实例类型才可以创建。
具体可以参考文档: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****" }
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。