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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to