storm-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Zhong (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (STORM-246) Make the storm ui css/js resource path to be relative so that it can be rendered in YARN page proxy
Date Thu, 27 Feb 2014 03:27:19 GMT

    [ https://issues.apache.org/jira/browse/STORM-246?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13914001#comment-13914001
] 

Sean Zhong commented on STORM-246:
----------------------------------

Hi Bobby,

Great to know you also face this problem! 

I'd like to share my work-around for this. I did a small hack in core.clj, add a loader page
which use javascript to redirect to the right URL:
(GET "/loader" request (str "<script>window.location.href='http://" (:server-name request)
":" (:server-port request) "'; </script>"))
And then fill the loader page as TrackingURL, so, if the storm ui IP:port can be accessed
from your client machine, then it should work.

> Make the storm ui css/js resource path to be relative so that it can be rendered in YARN
page proxy
> ---------------------------------------------------------------------------------------------------
>
>                 Key: STORM-246
>                 URL: https://issues.apache.org/jira/browse/STORM-246
>             Project: Apache Storm (Incubating)
>          Issue Type: Bug
>            Reporter: Sean Zhong
>            Priority: Trivial
>         Attachments: 001.png
>
>




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message