Re: Mesos API - How to send argument to task?

2016-07-04 Thread Bryan Fok
Thanks bro, thanks for your advance. I will try it out and return feedback here On Tue, Jul 5, 2016 at 2:23 PM, Gilbert Song wrote: > Bryan, > > You can define your own arguments in your > 'TaskInfo::CommandInfo::arguments', > while having your executable as 'value'. Please note that 'shell' def

Re: Mesos API - How to send argument to task?

2016-07-04 Thread Gilbert Song
Bryan, You can define your own arguments in your 'TaskInfo::CommandInfo::arguments', while having your executable as 'value'. Please note that 'shell' defaults to be true in CommandInfo. Gilbert On Mon, Jul 4, 2016 at 11:11 PM, Bryan Fok wrote: > > > > > >

Return a vector value from custom executor

2016-07-04 Thread Bryan Fok
Hi all What is the best practice to have a custom executor to return large size (~200mb) value (e.g. matrix array, or numpy array) ? B.R Bryan

Mesos API - How to send argument to task?

2016-07-04 Thread Bryan Fok
Hi all I am writing a python framework which has a custom executor. Each task I submit will need to pass 2 string as arguments, each task also need 2 unique xml configuration files in the slave for the custom exe

Re: A Redis Framework for Apache Mesos

2016-07-04 Thread Avinash Sridharan
On Mon, Jul 4, 2016 at 12:11 AM, DhilipKumar Sankaranarayanan < s.dhilipku...@gmail.com> wrote: > *"* > *Would be nice to get on the frameworks page:* > > *http://mesos.apache.org/documentation/latest/frameworks/ > * > *?* > *"* > Sure i w

Re: Documentation for ACCEPT HTTP API

2016-07-04 Thread Giulio Eulisse
Dear Jay, thank you for your reply. Yes, I am aware of those pages and that's what I used so far. As I said, they are actually quite clear and allowed me to get a simple "reject all offers" framework up and running in one evening. However, if you look at the scheduler-http-api page, you will see

Re: Documentation for ACCEPT HTTP API

2016-07-04 Thread Jay JN Guo
Hi Giulio,   For scheduler/executor HTTP API, please refer to: http://mesos.apache.org/documentation/latest/scheduler-http-api/ http://mesos.apache.org/documentation/latest/executor-http-api/   If you find anything missing there, let us know.   Also, we are working on Operator HTTP API documentatio

Documentation for ACCEPT HTTP API

2016-07-04 Thread Giulio Eulisse
Dear all, I've started writing a simple framework using node.js and the HTTP Scheduler API. I've managed to subscribe to the event stream, parse messages and decline offers quite easily, however I'm having a bit of trouble accepting the offers and launching tasks, since I cannot find any complete

Re: Mesos on hybrid AWS&DC - Best practices?

2016-07-04 Thread o...@magnetic.io
I agree about seperate clusters and tooling on top. This is exactly where several of our customers are using Vamp (vamp.io) for: gradual and controlled (canary) moving from legacy/current environments/applications (often on own DC’s) to container-based modern environments (often on public clouds

Re: A Redis Framework for Apache Mesos

2016-07-04 Thread DhilipKumar Sankaranarayanan
We use ETCD to store the state of the scheduler (mr-redis) not to perform master election like "Mesos Master". The Scheduler itself is stateless it stores plenty of information with respect to the redis instances in etcd. we already have a request from

Re: A Redis Framework for Apache Mesos

2016-07-04 Thread DhilipKumar Sankaranarayanan
*"* *Would be nice to get on the frameworks page:* *http://mesos.apache.org/documentation/latest/frameworks/ * *?* *"* Sure i would love to do that, where should i raise a PR? *"Also is it already part of the DC/OS universe ?"* Yes we ha