You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by Klaus Ma <kl...@gmail.com> on 2016/10/11 06:36:23 UTC

How to shutdown mesos-agent gracefully?

It seems there's not a way to shutdown mesos-agent gracefully.
Maintenance feature expect the agents re-register back in the future.

Thanks
Klaus
-- 

Regards,
----
Da (Klaus), Ma (马达), PMP® | Software Architect
IBM Platform Development & Support, STG, IBM GCG
+86-10-8245 4084 | madaxa@cn.ibm.com | http://k82.me

Re: How to shutdown mesos-agent gracefully?

Posted by Klaus Ma <kl...@gmail.com>.
I'd like to notify framework to kill its tasks and then terminate the
mesos-agent. To the Maintenance feature, can not remember whether the slave
info will be clearup if that slave will not re-register back.

On Wed, Oct 12, 2016 at 10:13 PM Alex Rukletsov <al...@mesosphere.com> wrote:

> To make sure: you are aware of SIGUSR1?
>
> On Tue, Oct 11, 2016 at 5:37 PM, tommy xiao <xi...@gmail.com> wrote:
>
> > Hi Ma,
> >
> > could you please input more background, why Maintenance feature  is not
> > best option for your request?
> >
> > 2016-10-11 14:47 GMT+08:00 haosdent <ha...@gmail.com>:
> >
> > > gracefully means not affect running tasks?
> > >
> > > On Tue, Oct 11, 2016 at 2:36 PM, Klaus Ma <kl...@gmail.com>
> > wrote:
> > >
> > >> It seems there's not a way to shutdown mesos-agent gracefully.
> > >> Maintenance feature expect the agents re-register back in the future.
> > >>
> > >> Thanks
> > >> Klaus
> > >> --
> > >>
> > >> Regards,
> > >> ----
> > >> Da (Klaus), Ma (马达), PMP® | Software Architect
> > >> IBM Platform Development & Support, STG, IBM GCG
> > >> +86-10-8245 4084 <+86%2010%208245%204084> | madaxa@cn.ibm.com |
> http://k82.me
> > >>
> > >
> > >
> > >
> > > --
> > > Best Regards,
> > > Haosdent Huang
> > >
> >
> >
> >
> > --
> > Deshi Xiao
> > Twitter: xds2000
> > E-mail: xiaods(AT)gmail.com
> >
>
-- 

Regards,
----
Da (Klaus), Ma (马达), PMP® | Software Architect
IBM Platform Development & Support, STG, IBM GCG
+86-10-8245 4084 | madaxa@cn.ibm.com | http://k82.me

Re: How to shutdown mesos-agent gracefully?

Posted by Klaus Ma <kl...@gmail.com>.
I'd like to notify framework to kill its tasks and then terminate the
mesos-agent. To the Maintenance feature, can not remember whether the slave
info will be clearup if that slave will not re-register back.

On Wed, Oct 12, 2016 at 10:13 PM Alex Rukletsov <al...@mesosphere.com> wrote:

> To make sure: you are aware of SIGUSR1?
>
> On Tue, Oct 11, 2016 at 5:37 PM, tommy xiao <xi...@gmail.com> wrote:
>
> > Hi Ma,
> >
> > could you please input more background, why Maintenance feature  is not
> > best option for your request?
> >
> > 2016-10-11 14:47 GMT+08:00 haosdent <ha...@gmail.com>:
> >
> > > gracefully means not affect running tasks?
> > >
> > > On Tue, Oct 11, 2016 at 2:36 PM, Klaus Ma <kl...@gmail.com>
> > wrote:
> > >
> > >> It seems there's not a way to shutdown mesos-agent gracefully.
> > >> Maintenance feature expect the agents re-register back in the future.
> > >>
> > >> Thanks
> > >> Klaus
> > >> --
> > >>
> > >> Regards,
> > >> ----
> > >> Da (Klaus), Ma (马达), PMP® | Software Architect
> > >> IBM Platform Development & Support, STG, IBM GCG
> > >> +86-10-8245 4084 <+86%2010%208245%204084> | madaxa@cn.ibm.com |
> http://k82.me
> > >>
> > >
> > >
> > >
> > > --
> > > Best Regards,
> > > Haosdent Huang
> > >
> >
> >
> >
> > --
> > Deshi Xiao
> > Twitter: xds2000
> > E-mail: xiaods(AT)gmail.com
> >
>
-- 

Regards,
----
Da (Klaus), Ma (马达), PMP® | Software Architect
IBM Platform Development & Support, STG, IBM GCG
+86-10-8245 4084 | madaxa@cn.ibm.com | http://k82.me

Re: How to shutdown mesos-agent gracefully?

Posted by Alex Rukletsov <al...@mesosphere.com>.
To make sure: you are aware of SIGUSR1?

On Tue, Oct 11, 2016 at 5:37 PM, tommy xiao <xi...@gmail.com> wrote:

> Hi Ma,
>
> could you please input more background, why Maintenance feature  is not
> best option for your request?
>
> 2016-10-11 14:47 GMT+08:00 haosdent <ha...@gmail.com>:
>
> > gracefully means not affect running tasks?
> >
> > On Tue, Oct 11, 2016 at 2:36 PM, Klaus Ma <kl...@gmail.com>
> wrote:
> >
> >> It seems there's not a way to shutdown mesos-agent gracefully.
> >> Maintenance feature expect the agents re-register back in the future.
> >>
> >> Thanks
> >> Klaus
> >> --
> >>
> >> Regards,
> >> ----
> >> Da (Klaus), Ma (马达), PMP® | Software Architect
> >> IBM Platform Development & Support, STG, IBM GCG
> >> +86-10-8245 4084 | madaxa@cn.ibm.com | http://k82.me
> >>
> >
> >
> >
> > --
> > Best Regards,
> > Haosdent Huang
> >
>
>
>
> --
> Deshi Xiao
> Twitter: xds2000
> E-mail: xiaods(AT)gmail.com
>

Re: How to shutdown mesos-agent gracefully?

Posted by Alex Rukletsov <al...@mesosphere.com>.
To make sure: you are aware of SIGUSR1?

On Tue, Oct 11, 2016 at 5:37 PM, tommy xiao <xi...@gmail.com> wrote:

> Hi Ma,
>
> could you please input more background, why Maintenance feature  is not
> best option for your request?
>
> 2016-10-11 14:47 GMT+08:00 haosdent <ha...@gmail.com>:
>
> > gracefully means not affect running tasks?
> >
> > On Tue, Oct 11, 2016 at 2:36 PM, Klaus Ma <kl...@gmail.com>
> wrote:
> >
> >> It seems there's not a way to shutdown mesos-agent gracefully.
> >> Maintenance feature expect the agents re-register back in the future.
> >>
> >> Thanks
> >> Klaus
> >> --
> >>
> >> Regards,
> >> ----
> >> Da (Klaus), Ma (马达), PMP® | Software Architect
> >> IBM Platform Development & Support, STG, IBM GCG
> >> +86-10-8245 4084 | madaxa@cn.ibm.com | http://k82.me
> >>
> >
> >
> >
> > --
> > Best Regards,
> > Haosdent Huang
> >
>
>
>
> --
> Deshi Xiao
> Twitter: xds2000
> E-mail: xiaods(AT)gmail.com
>

Re: How to shutdown mesos-agent gracefully?

Posted by tommy xiao <xi...@gmail.com>.
Hi Ma,

could you please input more background, why Maintenance feature  is not
best option for your request?

2016-10-11 14:47 GMT+08:00 haosdent <ha...@gmail.com>:

> gracefully means not affect running tasks?
>
> On Tue, Oct 11, 2016 at 2:36 PM, Klaus Ma <kl...@gmail.com> wrote:
>
>> It seems there's not a way to shutdown mesos-agent gracefully.
>> Maintenance feature expect the agents re-register back in the future.
>>
>> Thanks
>> Klaus
>> --
>>
>> Regards,
>> ----
>> Da (Klaus), Ma (马达), PMP® | Software Architect
>> IBM Platform Development & Support, STG, IBM GCG
>> +86-10-8245 4084 | madaxa@cn.ibm.com | http://k82.me
>>
>
>
>
> --
> Best Regards,
> Haosdent Huang
>



-- 
Deshi Xiao
Twitter: xds2000
E-mail: xiaods(AT)gmail.com

Re: How to shutdown mesos-agent gracefully?

Posted by tommy xiao <xi...@gmail.com>.
Hi Ma,

could you please input more background, why Maintenance feature  is not
best option for your request?

2016-10-11 14:47 GMT+08:00 haosdent <ha...@gmail.com>:

> gracefully means not affect running tasks?
>
> On Tue, Oct 11, 2016 at 2:36 PM, Klaus Ma <kl...@gmail.com> wrote:
>
>> It seems there's not a way to shutdown mesos-agent gracefully.
>> Maintenance feature expect the agents re-register back in the future.
>>
>> Thanks
>> Klaus
>> --
>>
>> Regards,
>> ----
>> Da (Klaus), Ma (马达), PMP® | Software Architect
>> IBM Platform Development & Support, STG, IBM GCG
>> +86-10-8245 4084 | madaxa@cn.ibm.com | http://k82.me
>>
>
>
>
> --
> Best Regards,
> Haosdent Huang
>



-- 
Deshi Xiao
Twitter: xds2000
E-mail: xiaods(AT)gmail.com

Re: How to shutdown mesos-agent gracefully?

Posted by haosdent <ha...@gmail.com>.
gracefully means not affect running tasks?

On Tue, Oct 11, 2016 at 2:36 PM, Klaus Ma <kl...@gmail.com> wrote:

> It seems there's not a way to shutdown mesos-agent gracefully.
> Maintenance feature expect the agents re-register back in the future.
>
> Thanks
> Klaus
> --
>
> Regards,
> ----
> Da (Klaus), Ma (马达), PMP® | Software Architect
> IBM Platform Development & Support, STG, IBM GCG
> +86-10-8245 4084 | madaxa@cn.ibm.com | http://k82.me
>



-- 
Best Regards,
Haosdent Huang

Re: How to shutdown mesos-agent gracefully?

Posted by haosdent <ha...@gmail.com>.
gracefully means not affect running tasks?

On Tue, Oct 11, 2016 at 2:36 PM, Klaus Ma <kl...@gmail.com> wrote:

> It seems there's not a way to shutdown mesos-agent gracefully.
> Maintenance feature expect the agents re-register back in the future.
>
> Thanks
> Klaus
> --
>
> Regards,
> ----
> Da (Klaus), Ma (马达), PMP® | Software Architect
> IBM Platform Development & Support, STG, IBM GCG
> +86-10-8245 4084 | madaxa@cn.ibm.com | http://k82.me
>



-- 
Best Regards,
Haosdent Huang