hadoop-yarn-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Billie Rinaldi (JIRA)" <j...@apache.org>
Subject [jira] [Created] (YARN-5985) Fix native services API JsonMappingException for PlacementPolicy
Date Thu, 08 Dec 2016 21:10:59 GMT
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:

{"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"}

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org

View raw message