[
https://issues.apache.org/jira/browse/YARN-11956?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Shilun Fan updated YARN-11956:
------------------------------
Fix Version/s: 3.5.1
3.6.0
Target Version/s: 3.6.0
Affects Version/s: 3.5.0
> Register RMQueueAclInfo in ClassSerialisationConfig for JSON responses
> ----------------------------------------------------------------------
>
> Key: YARN-11956
> URL: https://issues.apache.org/jira/browse/YARN-11956
> Project: Hadoop YARN
> Issue Type: Bug
> Components: yarn
> Affects Versions: 3.5.0
> Reporter: Riya Khandelwal
> Assignee: Riya Khandelwal
> Priority: Critical
> Labels: pull-request-available
> Fix For: 3.5.1, 3.6.0
>
>
> The RM queue access REST call (…/queues/\{queue}/access?user=…) returns
> RMQueueAclInfo, which was missing from the MOXy JSON allowlist in
> ClassSerialisationConfig, so Accept: application/json could fail with no
> MessageBodyWriter. Register RMQueueAclInfo there so that endpoint can return
> JSON.
> tested:
> curl -sS -H 'Accept: application/json' \
> 'http://localhost:8088/ws/v1/cluster/queues/default/access?user=yarn'
> * With the fix: HTTP 200, JSON body (unwrapped)
> * Without the fix: error response mentioning MessageBodyWriter not found for
> RMQueueAclInfo
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]