You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-issues@hadoop.apache.org by "Eric Yang (JIRA)" <ji...@apache.org> on 2019/06/25 22:39:00 UTC

[jira] [Updated] (YARN-9648) Improve serialization of Server side errors for YARN ApiServiceClient

     [ 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.001.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
>            Reporter: Eric Yang
>            Assignee: Eric Yang
>            Priority: Major
>         Attachments: YARN-9648.001.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: yarn-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-issues-help@hadoop.apache.org