[ 
https://issues.apache.org/jira/browse/YARN-9648?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Eric Yang updated YARN-9648:
----------------------------
    Attachment: YARN-9648.002.patch

> Improve serialization of Server side errors for YARN ApiServiceClient
> ---------------------------------------------------------------------
>
>                 Key: YARN-9648
>                 URL: https://issues.apache.org/jira/browse/YARN-9648
>             Project: Hadoop YARN
>          Issue Type: Bug
>    Affects Versions: 3.1.0, 3.2.0, 3.1.1, 3.1.2
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Major
>         Attachments: YARN-9648.001.patch, YARN-9648.002.patch
>
>
> When server side throws exception, the output may have the following format:
> # A ServiceStatus object in JSON form
> # A generic exception class serialized in JSON form
> # A plain text/html output
> The current client will attempt to serialize all three forms of responses, 
> but response.getEntity does not always work when reading the response more 
> than once.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to