Re: Unable to follow Sandbox links from Mesos UI.

2015-01-27 Thread Alex Rukletsov
Let's make sure instead of assuming. Could you please add this line: console.log('Fetch url:', url); between lines 17 and 18, click the link, copy the output from Firebug or Chrome dev console and paste it here together with the link corresponding to the download button? Thanks, Alex On Tue, Jan

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-27 Thread Dan Dong
Hi, Alex, After I switch to firefox31.3.0 from another server( it is firefox3.6.11 on the previous server when I found firebug could not be installed on it), all things work now. The link of stdout/stderr still point to the master's IP when I hover cursor on the link, but now the new popped

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-26 Thread Suijian Zhou
Hi, Alex, Yes, I can see the link points to the slave machine when I hover on the Download button and stdout/stderr can be downloaded. So do you mean it is expected/designed that clicking on 'stdout/stderr' themselves will not show you anything? Thanks! Cheers, Dan 2015-01-26 7:44 GMT-06:00

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-26 Thread Geoffroy Jabouley
Hello just in case, which internet browser are you using? Do you have installed any extensions (NoScript, Ghostery, ...) that could prevent the display /statis/pailer display? I personnaly use NoScript with Firefox, and i have to turn it off on all @IP of our cluster to correctly access slave

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-23 Thread Dan Dong
Hi, Alex, That is what expected, but when I click on it, it pops a new blank window(pailer.html) without the content of the file(9KB size). Any hints? Cheers, Dan 2015-01-23 4:37 GMT-06:00 Alex Rukletsov a...@mesosphere.io: Dan, you should be able to view file contents just by clicking on

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-23 Thread Alex Rukletsov
Dan, you should be able to view file contents just by clicking on the link. On Thu, Jan 22, 2015 at 9:57 PM, Dan Dong dongda...@gmail.com wrote: Yes, --hostname solves the problem. Now I can see all files there like stdout, stderr etc, but when I click on e.g stdout, it pops a new blank

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-22 Thread Ryan Thomas
It is a request from your browser session, not from the master that is going to the slaves - so in order to view the sandbox you need to ensure that the machine your browser is on can resolve and route to the masters _and_ the slaves. The master doesn't proxy the sandbox requests through itself

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-22 Thread Dan Dong
Thank you all, the master and slaves can resolve each others' hostname and ssh login without password, firewalls have been switched off on all the machines too. So I'm confused what will block such a pull of info of slaves from UI? Cheers, Dan 2015-01-21 16:35 GMT-06:00 Cody Maloney

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-22 Thread Dan Dong
Thanks Ryan, yes, from the machine where the browser is on slave hostnames could not be resolved, so that's why failure, but it can reach them by IP address( I don't think sys admin would like to add those VMs entries to /etc/hosts on the server). I tried to change masters and slaves of mesos to

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-22 Thread Adam Bordelon
Try the --hostname parameters for master/slave. If you want to be extra explicit about the IP (e.g. publish the public IP instead of the private one in a cloud environment), you can also set the --ip parameter on master/slave. On Thu, Jan 22, 2015 at 8:43 AM, Dan Dong dongda...@gmail.com wrote:

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-22 Thread Dan Dong
Yes, --hostname solves the problem. Now I can see all files there like stdout, stderr etc, but when I click on e.g stdout, it pops a new blank window(pailer.html) without the content of the file(9KB size). Although it provides a Download link beside, it would be much more convenient if one can

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-21 Thread Ryan Thomas
Hey Dan, The UI will attempt to pull that info directly from the slave so you need to make sure the host is resolvable and routeable from your browser. Cheers, Ryan From my phone On Wednesday, 21 January 2015, Dan Dong dongda...@gmail.com wrote: Hi, All, When I try to access sandbox on

Unable to follow Sandbox links from Mesos UI.

2015-01-21 Thread Dan Dong
Hi, All, When I try to access sandbox on mesos UI, I see the following info( The same error appears on every slave sandbox.): Failed to connect to slave '20150115-144719-3205108908-5050-4552-S0' on 'centos-2.local:5051'. Potential reasons: The slave's hostname, 'centos-2.local', is not

Re: Unable to follow Sandbox links from Mesos UI.

2015-01-21 Thread Cody Maloney
Also see https://issues.apache.org/jira/browse/MESOS-2129 if you want to track progress on changing this. Unfortunately it is on hold for me at the moment to fix. Cody On Wed, Jan 21, 2015 at 2:07 PM, Ryan Thomas r.n.tho...@gmail.com wrote: Hey Dan, The UI will attempt to pull that info