mesos-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stavros Kontopoulos (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MESOS-4992) sandbox uri does not work outisde mesos http server
Date Sat, 04 Mar 2017 19:24:45 GMT

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

Stavros Kontopoulos commented on MESOS-4992:
--------------------------------------------

[~bmahler] If you check the code after those lines: https://github.com/apache/mesos/blob/8dc71da12c9b91edd2fa6c7b9a0a088b7dbb0ad3/src/webui/master/static/js/controllers.js#L762-L773,
certain type of information must be collected inorder this to be successful . Some of this
info is in the url but we cannot get any state. We do depend on master state plus we need
to fetch the executor dir. Thus, coming from a non mesos page you need to reconstruct the
state. Probably there is a method for that eg, when you first enter mesos web ui. Will have
a look.

> sandbox uri does not work outisde mesos http server
> ---------------------------------------------------
>
>                 Key: MESOS-4992
>                 URL: https://issues.apache.org/jira/browse/MESOS-4992
>             Project: Mesos
>          Issue Type: Bug
>          Components: webui
>    Affects Versions: 0.27.1
>            Reporter: Stavros Kontopoulos
>            Assignee: haosdent
>              Labels: mesosphere
>
> The SandBox uri of a framework does not work if i just copy paste it to the browser.
> For example the following sandbox uri:
> http://172.17.0.1:5050/#/slaves/50f87c73-79ef-4f2a-95f0-b2b4062b2de6-S0/frameworks/50f87c73-79ef-4f2a-95f0-b2b4062b2de6-0009/executors/driver-20160321155016-0001/browse
> should redirect to:
> http://172.17.0.1:5050/#/slaves/50f87c73-79ef-4f2a-95f0-b2b4062b2de6-S0/browse?path=%2Ftmp%2Fmesos%2Fslaves%2F50f87c73-79ef-4f2a-95f0-b2b4062b2de6-S0%2Fframeworks%2F50f87c73-79ef-4f2a-95f0-b2b4062b2de6-0009%2Fexecutors%2Fdriver-20160321155016-0001%2Fruns%2F60533483-31fb-4353-987d-f3393911cc80
> yet it fails with the message:
> "Failed to find slaves.
> Navigate to the slave's sandbox via the Mesos UI."
> and redirects to:
> http://172.17.0.1:5050/#/
> It is an issue for me because im working on expanding the mesos spark ui with sandbox
uri, The other option is to get the slave info and parse the json file there and get executor
paths not so straightforward or elegant though.
> Moreover i dont see the runs/container_id in the Mesos Proto Api. I guess this is hidden
info, this is the needed piece of info to re-write the uri without redirection.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message