Thanks haosdent.

I tried to use docker containerInfo to launch group task, but got "Docker 
ContainerInfo is not supported on the task".
Is it support mesos container only?

________________________________
From: haosdent <[email protected]>
Sent: Friday, November 18, 2016 4:54:07 PM
To: user
Subject: Re: Question on Mesos 1.1.0 LaunchGroup

Hi, @Qi You may refer `mesos-executor` about how to build `LaunchGroup` 
https://github.com/apache/mesos/blob/master/src/cli/execute.cpp#L498-L524

```
         operation->set_type(Offer::Operation::LAUNCH_GROUP);

         ExecutorInfo* executorInfo =
           operation->mutable_launch_group()->mutable_executor();

         executorInfo->set_type(ExecutorInfo::DEFAULT);
         executorInfo->mutable_executor_id()->set_value(
             "default-executor");
...
```
As you see, executor-id is a string here and you could use any string to 
identify the executor.

On Fri, Nov 18, 2016 at 3:47 PM, Qi Feng 
<[email protected]<mailto:[email protected]>> wrote:

I'm trying the LaunchGroup feature.

But I find the an executorInfo is required.


    message LaunchGroup {
      required ExecutorInfo executor =3D 1;
      required TaskGroupInfo task_group =3D 2;
    }

What's more, an executor id is required in executorInfo. How would I build =
the executorInfo if I use the default executor of mesos?
https://github.com/apache/mesos/blob/1.1.x/include/mesos/mesos.proto#L566

Thanks for any reply.



--
Best Regards,
Haosdent Huang

Reply via email to