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 "Eric Yang (JIRA)" <ji...@apache.org> on 2019/06/25 22:38:00 UTC

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

Eric Yang created YARN-9648:
-------------------------------

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


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-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org