mesos-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 许立剑 <xulij...@qiyi.com>
Subject Re: Example/doc on how to implement framework/scheduler
Date Wed, 21 Aug 2013 14:37:00 GMT
See include/mesos/mesos.proto.

许立剑

爱奇艺技术产品中心云平台

*[image: cid:image002.png@01CCAB87.D90219F0]*

☎ 15652344221 | QQ: 276583295 | 12F-W061 <http://www.iqiyi.com/>



2013/8/21 Li Jin <ice.xelloss@gmail.com>

> Hello,
>
> I am implementing a basic mesos framework(Java) and executor(Python). I
> find it quite difficult to find information about framework/executor
> protocol. Here is all the information I found
>
> Doc:
>
>
> https://github.com/apache/mesos/blob/master/docs/App-Framework-development-guide.textile
>
> This is nice but it doesn't explain things like how to construct TaskInfo
>
> Examples:
>
> src/examples:
> These examples are nice to get started, however, these examples don't show
> some of the basic things I would like to know  (they don't pass a command
> to the executor, for instance)
>
> framework/mesos-submit:
> Mesos-submit actually passed a command to the executor which is nice.
> However the python api seems quite different from the java one and I find
> it hard to understand what it's doing and even how to reimplement this in
> Java
>
> In general, I couldn't find doc/example about all the protobuf (TaskInfo,
> ExecutorInfo, etc) objects and how to use them.
>
> I am wondering if there are more for me to look at. If not, I guess my
> best shot is take a look at the source code or Chronos
>
> Thanks,
> Li
>

Mime
View raw message