[
https://issues.apache.org/jira/browse/YARN-11961?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated YARN-11961:
----------------------------------
Labels: pull-request-available (was: )
> ExcludeRootJSONProvider: fallback for @XmlRootElement types missing from
> wrapped/unwrapped class lists
> ------------------------------------------------------------------------------------------------------
>
> Key: YARN-11961
> URL: https://issues.apache.org/jira/browse/YARN-11961
> Project: Hadoop YARN
> Issue Type: Improvement
> Components: yarn
> Reporter: Riya Khandelwal
> Assignee: Riya Khandelwal
> Priority: Critical
> Labels: pull-request-available
>
> Jersey/MOXy only binds DTOs that appear on the RM webapp’s wrapped/unwrapped
> class lists. DTOs with {{@XmlRootElement}} that are missing from both lists
> can fail JSON negotiation (e.g. no suitable {{{}MessageBodyWriter{}}}).
> Extend {{ExcludeRootJSONProvider}} so unlisted JAXB root types are treated as
> unwrapped JSON, and add a small unit test.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]