[
https://issues.apache.org/jira/browse/MESOS-2748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14550809#comment-14550809
]
Michael Lunøe commented on MESOS-2748:
--------------------------------------
[[email protected]] Yes, the problem is exactly the use of absolute paths.
"/mesos/help" works (showing a page with urls), but the urls listed are
absolute paths, i.e. "/help/metrics" or "/help/__processes__". If it were to
use relative paths, so they would show correct paths: "/mesos/help/metrics" and
"/mesos/help/__processes__" in stead. Does that answer your question?
> /help generated links point to wrong URLs
> -----------------------------------------
>
> Key: MESOS-2748
> URL: https://issues.apache.org/jira/browse/MESOS-2748
> Project: Mesos
> Issue Type: Bug
> Affects Versions: 0.22.1
> Reporter: Marco Massenzio
> Priority: Minor
>
> As reported by Michael Lunøe <[email protected]> (see also MESOS-329 and
> MESOS-913 for background):
> {quote}
> In {{mesos/3rdparty/libprocess/src/help.cpp}} a markdown file is created,
> which is then converted to html through a javascript library
> All endpoints point to {{/help/...}}, they need to work dynamically for
> reverse proxy to do its thing. {{/mesos/help}} works, and displays the
> endpoints, but they each need to go to their respective {{/help/...}}
> endpoint.
> Note that this needs to work both for master, and for slaves. I think the
> route to slaves help is something like this:
> {{/mesos/slaves/20150518-210216-1695027628-5050-1366-S0/help}}, but please
> double check this.
> {quote}
> The fix appears to be not too complex (as it would require to simply
> manipulate the generated URL) but a quick skim of the code would suggest that
> something more substantial may be desirable too.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)