Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
None
-
None
-
None
-
None
Description
I tried setting placement_policy in the native services API and got the following exception:
{"exception":"JsonMappingException","message":"Can not instantiate value of type [simple type, class org.apache.hadoop.yarn.services.resource.PlacementPolicy] from JSON String; no single-String constructor/factory method (through reference chain: org.apache.hadoop.yarn.services.resource.Application[\"components\"]->org.apache.hadoop.yarn.services.resource.Component[\"placement_policy\"])","javaClassName":"org.codehaus.jackson.map.JsonMappingException"}