You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@storm.apache.org by "James Xu (JIRA)" <ji...@apache.org> on 2013/12/14 10:14:06 UTC
[jira] [Created] (STORM-93) Storm UI breaks when proxied
James Xu created STORM-93:
-----------------------------
Summary: Storm UI breaks when proxied
Key: STORM-93
URL: https://issues.apache.org/jira/browse/STORM-93
Project: Apache Storm (Incubating)
Issue Type: Improvement
Reporter: James Xu
Priority: Minor
The Storm UI doesn't render properly when placed behind a proxy. The UI uses absolute paths to refer to it's stylesheets and JavaScript. As a result, unless you proxy it from the root URL it will fail to load properly. Ideally, the Storm UI resources would refer to relative locations.
For example: In our case, we proxy the UI under /storm. Unfortunately the Storm UI refers to /css/style.css instead of /storm/css/style.css.
Possible solution:
In the https://github.com/nathanmarz/storm/blob/24106aa13ded590c0d9ab747d8bf1a149414244a/src/clj/backtype/storm/ui/core.clj#L40 an additional parameter for "depth" could passed that provides the proper number of ../ in front of the resource path.
--
This message was sent by Atlassian JIRA
(v6.1.4#6159)