I am trying to figure out how to use Mesos. I have running mesos master and slave running (in single-node setup).

And I have understood that framework listens for resource offers and accepts theme if he can, and after that it goes to the executor to execute the task.

How I can send to mesos "Hi, I want to execute some task with 1 cpu and 256 mb", who's task is? the framework? or there is another api for doing this?

Yosi

有帮助吗?

解决方案

I think I understood it finally after a debugging session :)

The framework gets a resource offer, when it get a resource offer he checks whether he have a task to launch the matches the resource offer - If so, he runs the task.

I thought there was an external service that I need to call and it will initiate a resource offer.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top