1

I tried to write a self-defined scheduler(use HTTP API), Mesos master accept my task launch, but mesos agent raise a TASK_FAILED status update. I want to know where I can get more detailed logs about why task is failed. My Mesos is 1.6.0, thanks

TungJerry
  • 13
  • 3

1 Answers1

2

There are two places to look:

  1. Check a task status update message and a reason
  2. Take a look at Mesos sandbox and examine stdout/stderr and other logs generated by your app. Here you have instruction how to do it.

You may need to decipher the problem from exit code. Here is an expalantaion how to do it.

janisz
  • 6,292
  • 4
  • 37
  • 70