aboutsummaryrefslogtreecommitdiff
path: root/docs/submitting-applications.md
diff options
context:
space:
mode:
authorSteve Loughran <stevel@hortonworks.com>2015-05-11 13:35:06 -0700
committerPatrick Wendell <patrick@databricks.com>2015-05-11 13:35:42 -0700
commit7ce2a33c3acffa17ae32f48ebb40b69b9b36dae4 (patch)
tree0d602f225c065dc427451690d8221cee917aea89 /docs/submitting-applications.md
parent82fee9d9aad2c9ba2fb4bd658579fe99218cafac (diff)
downloadspark-7ce2a33c3acffa17ae32f48ebb40b69b9b36dae4.tar.gz
spark-7ce2a33c3acffa17ae32f48ebb40b69b9b36dae4.tar.bz2
spark-7ce2a33c3acffa17ae32f48ebb40b69b9b36dae4.zip
[SPARK-7508] JettyUtils-generated servlets to log & report all errors
Patch for SPARK-7508 This logs warn then generates a response which include the message body and stack trace as text/plain, no-cache. The exit code is 500. In practise (in some tests in SPARK-1537 to be precise), jetty is getting in between this servlet and the web response the user sees —the body of the response is lost for any error response (500, even 404 and bad request). The standard Jetty handlers must be getting in the way. This patch doesn't address that, it ensures that 1. if the jetty handlers were put to one side the users would see the errors 2. at least the exceptions appear in the server-side logs. This is better to users saying "I saw a 500 error" and you not having anything in the logs to see what went wrong. Author: Steve Loughran <stevel@hortonworks.com> Closes #6033 from steveloughran/stevel/feature/SPARK-7508-JettyUtils and squashes the following commits: 584836f [Steve Loughran] SPARK-7508 drop trailing semicolon ad6f185 [Steve Loughran] SPARK-7508: jetty handles exception reporting itself; spark just sets this up and logs exceptions before being relayed 258d9f9 [Steve Loughran] SPARK-7508 fix typo manually-edited before patch pushed 69c8263 [Steve Loughran] SPARK-7508 JettyUtils-generated servlets to log & report all errors
Diffstat (limited to 'docs/submitting-applications.md')
0 files changed, 0 insertions, 0 deletions