Riya Khandelwal created YARN-11961:
--------------------------------------

             Summary: 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


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]

Reply via email to