[ 
https://issues.apache.org/jira/browse/MESOS-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stavros Kontopoulos updated MESOS-4992:
---------------------------------------
    Description: 
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.


  was:
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 withotu 
redirection.



> 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
>
> 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.4#6332)

Reply via email to