You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by "Riya Khandelwal (Jira)" <ji...@apache.org> on 2026/05/07 08:47:04 UTC
[jira] [Created] (YARN-11961) ExcludeRootJSONProvider: fallback for @XmlRootElement types missing from wrapped/unwrapped class lists
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: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org