[
https://issues.apache.org/jira/browse/MESOS-8?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13184491#comment-13184491
]
[email protected] commented on MESOS-8:
---------------------------------------------------
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/2990/#review4320
-----------------------------------------------------------
I'm getting an error when I run this:
...
Bottle server starting up (using WSGIRefServer())...
Listening on http://0.0.0.0:8081/
Use Ctrl-C to quit.
I0111 14:49:16.554774 10059776 slave.cpp:402] Got assigned task 0 for framework
201201111446-0-0003
I0111 14:49:16.554879 10059776 slave.cpp:1405] Generating a unique work
directory for executor 'default' of framework 201201111446-0-0003
I0111 14:49:16.555444 10059776 slave.cpp:469] Using
'/Users/benh/workspace/apache-mesos2/build/work/slaves/201201111446-0-3/frameworks/201201111446-0-0003/executors/default/runs/0'
as work directory for executor 'default' of framework 201201111446-0-0003
I0111 14:49:16.564555 10059776 process_based_isolation_module.cpp:91] Launching
default
(/Users/benh/workspace/apache-mesos2/build/bin/examples/long-lived-executor) in
/Users/benh/workspace/apache-mesos2/build/work/slaves/201201111446-0-3/frameworks/201201111446-0-0003/executors/default/runs/0
with resources ' for framework 201201111446-0-0003
I0111 14:49:16.565660 10059776 process_based_isolation_module.cpp:114] Forked
executor at = 14743
I0111 14:49:16.575518 10059776 slave.cpp:729] Got registration for executor
'default' of framework 201201111446-0-0003
I0111 14:49:16.575803 10059776 slave.cpp:783] Flushing queued tasks for
framework 201201111446-0-0003
I0111 14:49:16.586254 10059776 slave.cpp:925] Status update: task 0 of
framework 201201111446-0-0003 is now in state TASK_RUNNING
I0111 14:49:16.587321 10059776 slave.cpp:646] Got acknowledgement of status
update for task 0 of framework 201201111446-0-0003
I0111 14:49:18.742049 10059776 slave.cpp:572] Asked to shut down framework
201201111446-0-0003
I0111 14:49:18.742146 10059776 slave.cpp:576] Shutting down framework
201201111446-0-0003
I0111 14:49:18.742182 10059776 slave.cpp:1317] Shutting down executor 'default'
of framework 201201111446-0-0003
I0111 14:49:19.452414 10059776 process_based_isolation_module.cpp:217] Telling
slave of lost executor default of framework 201201111446-0-0003
I0111 14:49:19.452627 10059776 slave.cpp:1282] Executor 'default' of framework
201201111446-0-0003 has exited with status 0
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000017
[Switching to process 14740]
0x0000000100031697 in mesos::internal::slave::Executor::~Executor
(this=0x100c22a60) at slave.hpp:211
211 delete task;
(gdb) bt
#0 0x0000000100031697 in mesos::internal::slave::Executor::~Executor
(this=0x100c22a60) at slave.hpp:211
#1 0x00000001000320ee in mesos::internal::slave::Framework::destroyExecutor
(this=0x100c1ab10, executorId=@0x100c22a60) at slave.hpp:213
#2 0x00000001000135ea in mesos::internal::slave::Slave::executorExited
(this=0x103007600, frameworkId=@0x100c22cf8, executorId=@0x100c22d20, status=0)
at ../../src/slave/slave.cpp:1297
#3 0x0000000100058e42 in std::tr1::_Function_handler<void
()(mesos::internal::slave::Slave*), std::tr1::_Bind<std::tr1::_Mem_fn<void
(mesos::internal::slave::Slave::*)(mesos::FrameworkID const&, mesos::ExecutorID
const&, int)> ()(std::tr1::_Placeholder<1>, mesos::FrameworkID,
mesos::ExecutorID, int)> >::_M_invoke (__functor=<value temporarily
unavailable, due to optimizations>, __a1=0x103007600) at
functional_iterate.h:214
#4 0x0000000100026b28 in ~function [inlined] () at
/usr/include/c++/4.2.1/tr1/functional:45
#5 0x0000000100026b28 in ~function [inlined] () at bind_iterate.h:834
#6 0x0000000100026b28 in operator()<process::ProcessBase*> [inlined] () at
/usr/include/c++/4.2.1/tr1/bind_iterate.h:45
#7 0x0000000100026b28 in std::tr1::_Function_handler<void
()(process::ProcessBase*), std::tr1::_Bind<void (*()(std::tr1::_Placeholder<1>,
std::tr1::function<void
()(mesos::internal::slave::Slave*)>))(process::ProcessBase*,
std::tr1::function<void ()(mesos::internal::slave::Slave*)>)> >::_M_invoke
(__functor=<value temporarily unavailable, due to optimizations>,
__a1=0x1030078c0) at functional:502
#8 0x000000010010b03b in ~function [inlined] () at
../../../third_party/libprocess/src/process.cpp:2937
#9 0x000000010010b03b in ~function [inlined] () at
/usr/include/c++/4.2.1/tr1/functional:834
#10 0x000000010010b03b in process::ProcessBase::serve (this=0x1030078c0,
secs=0.99999809265136719, once=false) at
../../../third_party/libprocess/src/process.cpp:2938
#11 0x000000010001b35e in mesos::internal::slave::Slave::operator()
(this=0x103007600) at protobuf.hpp:105
#12 0x000000010010fb56 in process::ProcessManager::run (this=0x100814090,
process=0x1030078c0) at ../../../third_party/libprocess/src/process.cpp:2356
#13 0x000000010010fcff in process::trampoline (stack0=10133504, stack1=1,
process0=<value temporarily unavailable, due to optimizations>, process1=<value
temporarily unavailable, due to optimizations>) at
../../../third_party/libprocess/src/process.cpp:937
- Benjamin
On 2012-01-09 19:29:36, Thomas Marshall wrote:
bq.
bq. -----------------------------------------------------------
bq. This is an automatically generated e-mail. To reply, visit:
bq. https://reviews.apache.org/r/2990/
bq. -----------------------------------------------------------
bq.
bq. (Updated 2012-01-09 19:29:36)
bq.
bq.
bq. Review request for mesos, Benjamin Hindman and Andy Konwinski.
bq.
bq.
bq. Summary
bq. -------
bq.
bq. Added a framework history to the slave page, an executor history to the
framework page, and a task history to the executor page. Allows stdout and
stderr of executors to be viewed after they finish executing.
bq.
bq.
bq. This addresses bug MESOS-8.
bq. https://issues.apache.org/jira/browse/MESOS-8
bq.
bq.
bq. Diffs
bq. -----
bq.
bq. src/slave/constants.hpp 489640b
bq. src/slave/http.cpp 18efd8c
bq. src/slave/slave.hpp 37bbd8c
bq. src/slave/slave.cpp 665ab7f
bq. src/webui/slave/executor.tpl dd53464
bq. src/webui/slave/framework.tpl 9488da5
bq. src/webui/slave/index.tpl 0f18de6
bq.
bq. Diff: https://reviews.apache.org/r/2990/diff
bq.
bq.
bq. Testing
bq. -------
bq.
bq.
bq. Thanks,
bq.
bq. Thomas
bq.
bq.
> Maintain a history of executed frameworks/tasks and show it on the web UI
> -------------------------------------------------------------------------
>
> Key: MESOS-8
> URL: https://issues.apache.org/jira/browse/MESOS-8
> Project: Mesos
> Issue Type: Improvement
> Reporter: Matei Zaharia
> Assignee: Thomas Marshall
>
> This is kind of a big task but ultimately important for cluster management.
> See https://github.com/mesos/mesos/issues#issue/39 for previous discussion on
> GitHub.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira