Can you log the message provided in the TaskStatus? https://github.com/apache/mesos/blob/1.5.0/include/ mesos/v1/mesos.proto#L2424
On Wed, Mar 7, 2018 at 11:23 PM, 罗 辉 <luo...@zetyun.com> wrote: > Hi guys: > > I got a mesos test app, mostly likely > > https://github.com/apache/mesos/blob/master/src/java/src/ > org/apache/mesos/v1/scheduler/V1Mesos.java > > just to run a simple task "free -m". The app can not run the task > successfully, always got a log info : > > Received an UPDATE event > Status update: task 1 is in state TASK_ERROR > > > I checked the logs , but no Errors in the mesos-master.ERROR or > mesos-agent.ERROR, only in mesos-master.INFO shows : > > W0307 17:55:28.180716 29438 validation.cpp:1298] Executor 'default' for > task '1' uses less CPUs (None) than the minimum required (0.01). Please > update your executor, as this will be mandatory in future releases. > W0307 17:55:28.180766 29438 validation.cpp:1310] Executor 'default' for > task '1' uses less memory (None) than the minimum required (32MB). Please > update your executor, as this will be mandatory in future releases. > Following this log, I didn't find a way to set the executor's > resource or similar code example > > Why my little app always fails? Thanks for any ideas. > > > San >