Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
3.5.0
-
None
Description
Spark history server provides AppHistoryServerPlugin to add extra REST API and web pages. However there's an issue when exceptions are thrown, causing incnosistent status code between web page and REST API.
For REST API, if the thrown exception is an instance of WebApplicationException, then the status code will be set as the one defined within the exception.
However for web page, all exceptions are wrapped within a 500 response.
Attachments
Issue Links
- links to