Billie Rinaldi created YARN-5985:
------------------------------------

             Summary: Fix native services API JsonMappingException for 
PlacementPolicy
                 Key: YARN-5985
                 URL: https://issues.apache.org/jira/browse/YARN-5985
             Project: Hadoop YARN
          Issue Type: Sub-task
            Reporter: Billie Rinaldi
            Assignee: Gour Saha


I tried setting placement_policy in the native services API and got the 
following exception: 
{noformat}
{"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"}
{noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to