hadoop-yarn-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gour Saha (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (YARN-5985) Fix native services API JsonMappingException for PlacementPolicy
Date Thu, 08 Dec 2016 21:14:58 GMT

     [ https://issues.apache.org/jira/browse/YARN-5985?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Gour Saha updated YARN-5985:
----------------------------
    Fix Version/s: yarn-native-services

> 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
>
>
> 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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org


Mime
View raw message