[ https://issues.apache.org/jira/browse/MESOS-4992?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15403013#comment-15403013 ]
Benjamin Mahler commented on MESOS-4992: ---------------------------------------- It looks like this was done intentionally: {code} // When navigating directly to this page, e.g. pasting the URL into the // browser, the previous page is not a page in Mesos. In that case, navigate // home. if (!$scope.agents) { $alert.danger({ message: "Navigate to the agent's sandbox via the Mesos UI.", title: "Failed to find agents." }); return $location.path('/').replace(); } {code} >From here: >https://github.com/apache/mesos/blob/8dc71da12c9b91edd2fa6c7b9a0a088b7dbb0ad3/src/webui/master/static/js/controllers.js#L751-L760 Looking at the [commit|https://github.com/apache/mesos/commit/270b7594c8eb3dd0d4db8461c3ee1108fa16b45d] and the code, it's not clear to me why this check was introduced since it is not being done in the other controllers. > 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 > 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.4#6332)