I don't understand why leave docker. Would we could have launch_group for 
docker in the future?
Or we can only write an executor for that.

Thanks.

________________________________
From: haosdent <[email protected]>
Sent: Monday, November 21, 2016 8:18:13 AM
To: user
Subject: Re: Question on Mesos 1.1.0 LaunchGroup

Yep, only mesos container is supported.

On Mon, Nov 21, 2016 at 4:14 PM, Qi Feng 
<[email protected]<mailto:[email protected]>> wrote:

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]<mailto:[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



--
Best Regards,
Haosdent Huang

Reply via email to