Steve Loughran created SLIDER-1075:
--------------------------------------
Summary: Slider agent doesn't handle non-JSON responses to
heartbeat
Key: SLIDER-1075
URL: https://issues.apache.org/jira/browse/SLIDER-1075
Project: Slider
Issue Type: Bug
Components: agent
Affects Versions: Slider 0.90.2, Slider 0.81
Reporter: Steve Loughran
Priority: Blocker
If the web site the Ambari or slider agent tries to talk to returns anything
other than json, then the agent fails with a JSON parse error from which it is
impossible to diagnose root cause.
What we need is
# status code validation
# reject 0 byte files
# reject content type != JSON
# report the contents of a response if the response doesn't parse.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)