You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
LIVY-357. Web UI: Updated staticResourceServlet to return 404s and not throw WARNs
PR moved from old repo cloudera/livy#339
[LIVY-357](https://issues.cloudera.org/browse/LIVY-357)
Since cloudera/livy#319 added the UI whenever a static resource is accessed a `MimeException` is thrown as a `WARN`. This was caused because a `InputStream` must be wrapped in a `BufferedInputStream` for a full implementation.
I updated `staticResourceServlet` with the wrapper as well as adding a `404 File not found` return when a file does not exist (currently an empty file is returned in such a case)
Tested manually
Author: Alex Bozarth <ajbozart@us.ibm.com>
Closesapache#2 from ajbozarth/ui-error.
0 commit comments