You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@aurora.apache.org by GitBox <gi...@apache.org> on 2018/08/07 15:38:22 UTC
[GitHub] edi33416 opened a new issue #27: Update custom executor example
edi33416 opened a new issue #27: Update custom executor example
URL: https://github.com/apache/aurora/issues/27
I've been trying to run the `mesos-executor` as the custom executor, by following the [instructions](http://aurora.apache.org/documentation/latest/features/custom-executors/) but I wasn't successful.
My `custom-executor.json` file looks like this
```
[
{
"executor": {
"name": "theDefaultMesosExecutor",
"command": {
"value": "/usr/libexec/mesos/mesos-executor",
"shell": "true"
},
"resources": [
{
"name": "cpus",
"type": "SCALAR",
"scalar": {
"value": 0.1
}
},
{
"name": "mem",
"type": "SCALAR",
"scalar": {
"value": 256
}
}
]
},
"task_prefix": "mes-exec-"
}
]
```
And I get the following error
```
I0807 11:22:38.310045 20943 exec.cpp:162] Version: 1.6.0
I0807 11:22:38.317176 20950 exec.cpp:236] Executor registered on agent 7e84b258-a9a7-469d-994b-f5a154b665b5-S1
I0807 11:22:38.319226 20943 executor.cpp:178] Received SUBSCRIBED event
I0807 11:22:38.319492 20943 executor.cpp:182] Subscribed executor on agent-node
I0807 11:22:38.319573 20943 executor.cpp:178] Received LAUNCH event
F0807 11:22:38.325577 20943 executor.cpp:569] Expecting task 'dev-devel-hello_world2-0-fe85afac-67c5-4e07-aac8-2168942a9000' to have a command
*** Check failure stack trace: ***
@ 0x7feb93cb122d google::LogMessage::Fail()
@ 0x7feb93cb307d google::LogMessage::SendToLog()
@ 0x7feb93cb0e13 google::LogMessage::Flush()
@ 0x7feb93cb3a79 google::LogMessageFatal::~LogMessageFatal()
@ 0x56158be584f0 mesos::internal::CommandExecutor::launch()
@ 0x56158be5a862 mesos::internal::CommandExecutor::received()
@ 0x56158be5b1bb _ZNSt17_Function_handlerIFvvEZZNO7process9_DeferredIZN5mesos8internal15CommandExecutor10initializeEvEUlSt5queueINS3_2v18executor5EventESt5dequeIS9_SaIS9_EEEE0_EcvSt8functionIFvT_EEIRKSD_EEvENKUlSM_E_clESM_EUlvE_E9_M_invokeERKSt9_Any_data
@ 0x7feb93bfa9d1 process::ProcessBase::consume()
@ 0x7feb93c1a4fa process::ProcessManager::resume()
@ 0x7feb93c1aa28 process::ProcessManager::wait()
@ 0x7feb93c1b037 process::wait()
@ 0x56158be1a3b9 main
@ 0x7feb908ff3d5 __libc_start_main
@ 0x56158be1ab05 (unknown)
```
Thank you!
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services