I've created a few JIRA issues for these. Fix slave webui representation and pass back to master: https://issues.apache.org/jira/browse/MESOS-33
Rendering JSON needs to escape strings properly: https://issues.apache.org/jira/browse/MESOS-34 Slave webui needs to correctly display stdout/stderr of executors: https://issues.apache.org/jira/browse/MESOS-35 They shouldn't be that difficult to fix so I'd love to give an opportunity to people interested in learning the codebase to contribute! If I haven't heard anything in a few days I'll jump in and get them cleaned up. Thanks again for your patience Michael! Ben. On Aug 21, 2011, at 12:22 PM, Michael Armbrust wrote: > Okay, so I've isolated the problem to a failure to escape quotes when > forming the state.json. I hacked my code for now to remove any quotes from > the task name and both the master and the slave ui seem to be working. > However now when I try to view a log file I get the error message found > below. Note, the log in question is actually located at > "/mnt/work/slave-201108211916-0-0/fw-201108211916-0-0000-javaExecutor/0/stdout". > > Michael > Error 500: Internal Server Error > > Sorry, the requested URL > http://ec2-50-16-139-203.compute-1.amazonaws.com:8080/framework-logs/201108211916-0-0000/stdout > caused > an error: > > > Unhandled exception > > Exception: > > > OSError(2, 'No such file or directory') > > Traceback: > > > Traceback (most recent call last): > File "webui/bottle-0.8.3/bottle.py", line 499, in handle > return handler(**args) > File "webui/slave/webui.py", line 66, in framework_log_full > i = max(os.listdir(dir)) > OSError: [Errno 2] No such file or directory: > '/mnt/slave-201108211916-0-0/fw-201108211916-0-0000'
