On 12/19/11 11:54 AM, Gunho Lee wrote:
> 1. Is there any command to kill specific framework or task, especially
> for long-running frameworks/tasks?
> Currently I am just killing/relaunching mesos slave.

There's no command-line or similar tool. This would be a good JIRA issue
(and probably not very hard).

> 2. I'd like to ask what would be the best way to pass some arguments to
> executors. For example, I want to let an executor know the list of
> hostnames of its siblings (tasks for the same framework). Or, just one
> of them would be good enough. (For example, the first task is to be
> assigned as a master, and its location should be informed to other tasks
> when then launch.) One trick I am using right now is to do that in the
> scheduler (similar to what MPI framework does), but it looks like a hack.

You can communicate it from the scheduler to executors using framework
messages, or as part of the TaskDescription, or as part of the
ExecutorInfo you pass when you launch a task.

- Charles

Reply via email to