Steve Loughran created SLIDER-1071:
--------------------------------------
Summary: agent to log registration response on JSON parse failure
Key: SLIDER-1071
URL: https://issues.apache.org/jira/browse/SLIDER-1071
Project: Slider
Issue Type: Improvement
Components: agent
Environment: Kerberized cluster
Reporter: Steve Loughran
Fix For: Slider 0.80
If the agent can't parse the response to a registration operation, it raises an
exception. The response message is lost.
# controller must check HTTP response
# The controller needs to catch parse exceptions exception, log the response.
# Maybe add a check for a 0 byte response too.
# looking at {{AgentResource}}, we should make sure that all failure codepaths
log, and, if it doesn't break agent version compatibility, include error
strings in the JSON Response, for container logs
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)