[
https://issues.apache.org/jira/browse/YARN-5985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gour Saha updated YARN-5985:
----------------------------
Attachment: YARN-5985-yarn-native-services.001.patch
> 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
> Fix For: yarn-native-services
>
> Attachments: YARN-5985-yarn-native-services.001.patch
>
>
> 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]