Systemd After=network.target vs. After=network-online.target

2017-03-29 Thread Petr Novak
Hello, I have used Mesosphere Zookeeper RPM and it uses After=network.target in its zookeeper.service systemd unit file. This doesn't guarantee that Zookeeper service will start after network is available. To ensure this After=network-online.target should be used. I spent some time with this when

RE: Can I consider other framework tasks as a resource? Does it make sense?

2016-12-15 Thread Petr Novak
can help the latter by rejecting offers from agents that do not contain the tasks of interest from other frameworks. On Wed, Dec 14, 2016 at 10:33 AM, Petr Novak <oss.mli...@gmail.com> wrote: Thanks a lot for the input. “Y scheduler can accept a rule how to check readi

RE: Multi-agent machine

2016-12-14 Thread Petr Novak
The use case? Development setup on a single VitrualBox VM to simulate a cluster? To safe laptop resources? Or something more behind? From: Charles Allen [mailto:charles.al...@metamarkets.com] Sent: 9. prosince 2016 21:11 To: user Subject: Multi-agent machine Is it possible to setup a

RE: Can I consider other framework tasks as a resource? Does it make sense?

2016-12-14 Thread Petr Novak
are some dependencies between my tasks, I use database, message queue or zookeeper to implement my requirement. On Wed, Dec 14, 2016 at 3:09 AM, Petr Novak <oss.mli...@gmail.com> wrote: Hello, I want to execute tasks which requires some other tasks from other framework(s) already

Can I consider other framework tasks as a resource? Does it make sense?

2016-12-13 Thread Petr Novak
Hello, I want to execute tasks which requires some other tasks from other framework(s) already running. I'm thinking where such logic/strategy/policy belongs in principle. I understand scheduling as a process to decide where to execute task according to some resources availability, typically CPU,

RE: Implementation examples for framework using V1 APIs for Scala/Java

2016-11-17 Thread Petr Novak
and it takes some time to switch the mindset. I have to evaluate for it. Regards, Petr From: Petr Novak [mailto:oss.mli...@gmail.com] Sent: 13. listopadu 2016 11:26 To: user@mesos.apache.org Subject: Implementation examples for framework using V1 APIs for Scala/Java Hello, Are there any

RE: Implementation examples for framework using V1 APIs for Scala/Java

2016-11-17 Thread Petr Novak
neu2016/e6/mesoscon_eu_2016.pdf at MesosCon EU. Unfortunately event was not recorded. — Tomek niedz., 13.11.2016, 11:26 użytkownik Petr Novak <oss.mli...@gmail.com> napisał: Hello, Are there any examples/guides I can take a look? Many thanks, Petr

Implementation examples for framework using V1 APIs for Scala/Java

2016-11-13 Thread Petr Novak
Hello, Are there any examples/guides I can take a look? Many thanks, Petr

Re: Can Marathon ensure single instance of a service at any give time?

2016-02-24 Thread Petr Novak
Thanks everybody for the great input. If I understand it correctly it doesn't help in this case, it just blindly restart service somewhere else once it looses heartbeat. Partition doesn't happen only because network failure it can be as simple as JVM "stop the world" with large heap or pretty much

Can Marathon ensure single instance of a service at any give time?

2016-02-23 Thread Petr Novak
Hello, if I need to run single stateless instance or only a single leader doing a work at any given time. Something I would typically implement using Zoo Curator LeaderSelector. Can I use Marathon to ensure this without having to implement mutual exclusion myself? Let's assume that other parts of

Re: Mesos integration with OpenStack HEAT AutoScaling

2016-02-23 Thread Petr Novak
s/blob/master/docs/maintenance.md) which > can be leveraged by HEAT or Magnum, when HEAT or Magnum want to scale down > a host, we can call some cloud-init script to first maintain the host > before HEAT delete it. The host maintain will emit "InverseOffer" and you > can

Mesos integration with OpenStack HEAT AutoScaling

2016-02-16 Thread Petr Novak
Hello, we are considering adopting Mesos but at the same time we need to run it on top of OpenStack at some places. My main questions is about how and if autoscaling defined via HEAT templates works together. And has to be done. I assume that scaling up is not much a problem - when Mesos detects