Unsibscribe

2019-07-11 Thread Victor L
Unsibscribe


unsubscribe

2018-12-11 Thread Victor L
unsubscribe


unsubscribe

2018-09-20 Thread Victor L



Re: healthcheck task?

2016-12-07 Thread Victor L
I found javadocs for package "Protos.HealthCheck":
http://mesos.apache.org/api/latest/java/org/apache/mesos/Protos.HealthCheck.html
 but not a single example of how to use it

On Wed, Dec 7, 2016 at 11:22 AM, Alex Rukletsov <a...@mesosphere.com> wrote:

> What exactly do you mean under "health check task"?
>
> On Wed, Dec 7, 2016 at 5:09 PM, Victor L <vlyamt...@gmail.com> wrote:
>
>> Can someone recommend simple example of how to add healthcheck task to
>> java framework?
>> Thanks,
>>
>>
>


Re: healthcheck task?

2016-12-07 Thread Victor L
My app is supposed to accept tcp connections on the port 3309 after
successful deployment.
The mesos task to periodically check for that i am referring as
"healthcheck task".
My understanding is that you can do the same in Marathon app deployments
with json code like:

"portIndex": $PORT1,
  "protocol": "TCP",
  "gracePeriodSeconds": 300,
  "intervalSeconds": 60,
  "timeoutSeconds": 20,



On Wed, Dec 7, 2016 at 11:22 AM, Alex Rukletsov <a...@mesosphere.com> wrote:

> What exactly do you mean under "health check task"?
>
> On Wed, Dec 7, 2016 at 5:09 PM, Victor L <vlyamt...@gmail.com> wrote:
>
>> Can someone recommend simple example of how to add healthcheck task to
>> java framework?
>> Thanks,
>>
>>
>


healthcheck task?

2016-12-07 Thread Victor L
Can someone recommend simple example of how to add healthcheck task to java
framework?
Thanks,


Re: forcing framework to re-schedule?

2016-09-12 Thread Victor L
How can i explicitly kill the task from my class?

On Mon, Sep 12, 2016 at 2:10 PM, haosdent <haosd...@gmail.com> wrote:

> If the target you perform health check is your task, Mesos support health
> check by a command. When your task reaches the health task failure limit,
> the task would be killed and then your framework could launch the task
> again when receives the `TASK_KILLED` in `statusUpdate`.
>
> On Tue, Sep 13, 2016 at 2:03 AM, Victor L <vlyamt...@gmail.com> wrote:
>
>> It checks if process is functional. I don't think standard healthchecks
>> wouldn't be sufficient for my purpose and my question still stands: how  to
>> use result...
>>
>> On Mon, Sep 12, 2016 at 1:48 PM, haosdent <haosd...@gmail.com> wrote:
>>
>>> Hi, @victor What's your health check agent used for? Because Mesos
>>> supports health checks now.
>>>
>>> On Tue, Sep 13, 2016 at 1:46 AM, Victor L <vlyamt...@gmail.com> wrote:
>>>
>>>> Hello,
>>>> I am writing "healthcheck agent" for mesos deployment framework as
>>>> independent thread periodically checking if main process ( started by
>>>> framework) is running...
>>>> What would be the mechanism to "communicate" failure to the framework
>>>> to cause specific outcome? For example: how can i use failure to cause
>>>> framework to reschedule deployment on different node?
>>>> Thanks,
>>>>
>>>
>>>
>>>
>>> --
>>> Best Regards,
>>> Haosdent Huang
>>>
>>
>>
>
>
> --
> Best Regards,
> Haosdent Huang
>


Re: forcing framework to re-schedule?

2016-09-12 Thread Victor L
It checks if process is functional. I don't think standard healthchecks
wouldn't be sufficient for my purpose and my question still stands: how  to
use result...

On Mon, Sep 12, 2016 at 1:48 PM, haosdent <haosd...@gmail.com> wrote:

> Hi, @victor What's your health check agent used for? Because Mesos
> supports health checks now.
>
> On Tue, Sep 13, 2016 at 1:46 AM, Victor L <vlyamt...@gmail.com> wrote:
>
>> Hello,
>> I am writing "healthcheck agent" for mesos deployment framework as
>> independent thread periodically checking if main process ( started by
>> framework) is running...
>> What would be the mechanism to "communicate" failure to the framework  to
>> cause specific outcome? For example: how can i use failure to cause
>> framework to reschedule deployment on different node?
>> Thanks,
>>
>
>
>
> --
> Best Regards,
> Haosdent Huang
>


forcing framework to re-schedule?

2016-09-12 Thread Victor L
Hello,
I am writing "healthcheck agent" for mesos deployment framework as
independent thread periodically checking if main process ( started by
framework) is running...
What would be the mechanism to "communicate" failure to the framework  to
cause specific outcome? For example: how can i use failure to cause
framework to reschedule deployment on different node?
Thanks,


mesos and coreos?

2015-01-18 Thread Victor L
I am confused: what's the value of mesos on the top of coreos cluster?
Mesos provides distributed resource management, fault tolerance, etc., but
doesn't coreos provides the same things already?
Thanks