Re: mesos leader switch may lead orphan tasks

2016-11-29 Thread Chengwei Yang
> > On Tue, Nov 29, 2016 at 9:53 PM, Chengwei Yang <chengwei.yang...@gmail.com> > wrote: > > On Tue, Nov 29, 2016 at 09:31:08PM +0800, haosdent wrote: > > Do your jobs scheduled by marathon or your framework? > > We started 3 frameworks(marathon, st

Re: mesos leader switch may lead orphan tasks

2016-11-29 Thread Chengwei Yang
g? So we can load frameworks first before add any existed tasks? > > On Tue, Nov 29, 2016 at 7:20 PM, Chengwei Yang <chengwei.yang...@gmail.com> > wrote: > > Hi there, > > We're upgrading mesos from 0.28.2 to 1.0.2 and we found an interesting > proble

mesos leader switch may lead orphan tasks

2016-11-29 Thread Chengwei Yang
Hi there, We're upgrading mesos from 0.28.2 to 1.0.2 and we found an interesting problem. We followed the official upgrade guide so first upgrade 2 following mesos-master, and then the leading master. Once the leading master upgraded, the leader switched to another 1.0.2 mesos-master. Now,

Re: Mesos HA does not work (Failed to recover registrar)

2016-06-06 Thread Chengwei Yang
@Qian, I think you're running issues with firewall, did you make sure your master can reach from each other? FROM master A $ telnet B 5050 I think it fail to connect. Please ensure shutdown any firewall. -- Thanks, Chengwei On Mon, Jun 06, 2016 at 09:06:43PM +0800, Qian Zhang wrote: > I

Re: No agents were shown/found in DC/OS cluster

2016-05-17 Thread Chengwei Yang
ABRT generally means that something crittical happened and you may not found that from stdout/stderr, so as journalctl. You may try to run ExecXXX in its ervice file from console manually to see what will happen and get some hints. -- Thanks, Chengwei On Mon, May 16, 2016 at 08:57:11AM -0700,

Re: Do I need to add authentication on slave 5051 port for security?

2015-12-06 Thread Chengwei Yang
On Sun, Dec 06, 2015 at 02:49:52PM +0800, Mingqi Shao wrote: > My master and slaves will communicate via public ip. in consideration of > security, I  can add authentication on mesos master 's 5051 port. I know that mesos-master listen at 5050. > mesos slave also listen on 5051. Is that safe

Re: Multiple active masters

2015-11-29 Thread Chengwei Yang
On Fri, Nov 27, 2015 at 04:16:44PM +0100, Elouan Keryell-Even wrote: > Hi, > > I don't think this is possible yet, but is it planned some day to be able to > work with multiple active Mesos masters? > > I mean, not just a high-availability configuration with one elected master and > a few others

Re: Is it safe to replace mesos-master in fly

2015-11-25 Thread Chengwei Yang
, is this a bug? I'm using mesos-0.21.0 on centos7, the vanilla rpm released by mesosphere. -- Thanks, Chengwei On Wed, Nov 25, 2015 at 05:45:56PM +0800, Chengwei Yang wrote: > Hi All, > > I did step 1 below and check logs from the new started mesos-master, and it > continuously complain

Re: Is it safe to replace mesos-master in fly

2015-11-25 Thread Chengwei Yang
the other replicas? -- Thanks, Chengwei On Tue, Nov 24, 2015 at 09:47:16AM +0800, Chengwei Yang wrote: > Hi all, > > We're using mesos in product on CentOS 6 and plan to upgrade CentOS to 7.1, to > avoid affect any tasks running on mesos. We're about to replace all > mesos

Re: Is it safe to replace mesos-master in fly

2015-11-25 Thread Chengwei Yang
recover.cpp:568] Successfully joined the Paxos group I1125 18:27:33.743727 2490 recover.cpp:452] Recover process terminated ``` -- Thanks, Chengwei On Wed, Nov 25, 2015 at 06:25:51PM +0800, Chengwei Yang wrote: > while the other 2 mesos-master (one leader and one follower) both repeat below &g

Re: Is it safe to replace mesos-master in fly

2015-11-25 Thread Chengwei Yang
JFYI. I finished the mesos-master migrate and all works fine as expectd. -- Thanks, Chengwei On Wed, Nov 25, 2015 at 06:29:54PM +0800, Chengwei Yang wrote: > OOPS, > > We forgot to disable firewalld on the new centos7 VM, once firewalld disabled, > replicate finished in seconds. &

Re: Is it safe to replace mesos-master in fly

2015-11-24 Thread Chengwei Yang
On Tue, Nov 24, 2015 at 03:38:56PM -0800, Marco Massenzio wrote: > The closest I could find is [0], but granted, much more detail could be > desirable :) > FYI - you may also want to check out the Maintenance Primitives [1] and > upgrades [2] (which is actually not directly applicable to your

Re: Is it safe to replace mesos-master in fly

2015-11-24 Thread Chengwei Yang
: > This is correct way on upgrade your mesos cluster, more details see mesos > documents release note. > > 2015-11-24 9:47 GMT+08:00 Chengwei Yang <chengwei.yang...@gmail.com>: > > Hi all, > > We're using mesos in product on CentOS 6 and plan to upgrade CentOS to > 7.1

Re: cpu hard limit for docker containerizer?

2015-05-07 Thread Chengwei Yang
into to 0.23 if we can get to it, if you like to pick up the reviewboard feel free to do so. Tim On Thu, May 7, 2015 at 7:21 PM, Chengwei Yang chengwei.yang...@gmail.com wrote: Hi List, I see mesos-slave has `--cgroups_enable_cfs` option to enable CFS hard cpu limit, that's may

cpu hard limit for docker containerizer?

2015-05-07 Thread Chengwei Yang
Hi List, I see mesos-slave has `--cgroups_enable_cfs` option to enable CFS hard cpu limit, that's may real helpful to running online aand offline jobs within a single mesos cluster, since some offline jobs are very CPU bindings. However, after having a small source code trip, I saw

Kill task with configurable options?

2015-04-29 Thread Chengwei Yang
Hi List, Is there a way to configure how mesos to kill task? The background is we have a type of task, which running with mesos native docker support. The task is a kind of message consumer which will take task from message queue and take care of it. However, a task may be very large, costs

Re: Mesos Marathon weird behavior

2015-02-10 Thread Chengwei Yang
On Mon, Feb 09, 2015 at 05:38:14PM +0200, Emre Tekelioğlu wrote: Hi Dario, I found these logs in syslog. Is it normal? Feb  9 15:26:38 maas01 marathon[8808]: [2015-02-09 15:26:38,537] INFO Computed new deployment plan: DeploymentPlan(2015-02-09T15:26:38.437Z, (Step(Vector

Re: Optimal resource allocation

2015-02-05 Thread Chengwei Yang
On Thu, Feb 05, 2015 at 12:00:28AM +0100, Pradeep Kiruvale wrote: Hi All, I am new to Mesos and I have heard and read lot about it. I have few doubts regarding the resource allocation by the mesos, please help me to clarify my doubts. In a data center, if there are thousands of

Re: Questions about mesos-storm

2014-05-02 Thread Chengwei Yang
that. MesosNimbus will find resources and will run supervisor process when a topology is submitted. Tomas On 28 April 2014 03:49, Chengwei Yang chengwei.yang...@gmail.com wrote: Hi List, I found mesosphere has a good page http://mesosphere.io

Re: Questions about mesos-storm

2014-04-28 Thread Chengwei Yang
-Adam- On Mon, Apr 28, 2014 at 5:51 PM, Chengwei Yang chengwei.yang...@gmail.com wrote: On Mon, Apr 28, 2014 at 04:15:25PM +0200, Tomas Barton wrote: Hi Chengwei, | 1. Is it necessary to deploy storm nimbus on the mesos master node? Yes

Re: Questions about mesos-storm

2014-04-28 Thread Chengwei Yang
On Tue, Apr 29, 2014 at 08:51:19AM +0800, Chengwei Yang wrote: On Mon, Apr 28, 2014 at 04:15:25PM +0200, Tomas Barton wrote: Hi Chengwei, | 1. Is it necessary to deploy storm nimbus on the mesos master node? Yes, basically Nimbus runs as Mesos framework (inside Mesos master

Re: How about disable the irc ASFBot to flood the irc channel?

2014-04-17 Thread Chengwei Yang
disturbed by the JIRA bot. -- Thanks, Chengwei On 17 April 2014 03:01, Chengwei Yang chengwei.yang...@gmail.com wrote: Hi All, I am a irc guy, maybe so as you. However, I found that there are two bots for JIRA, one for the mesos-dev mailing list, one for the irc channel. I

How about disable the irc ASFBot to flood the irc channel?

2014-04-16 Thread Chengwei Yang
Hi All, I am a irc guy, maybe so as you. However, I found that there are two bots for JIRA, one for the mesos-dev mailing list, one for the irc channel. I generally think the bot for mailing list is fine, which push a JIRA msg in a mail thread, so with full context, readable and easy to

Re: http://mesos.apache.org/downloads/ is saying the latest release is 0.16.0

2014-03-06 Thread Chengwei Yang
, Mar 5, 2014 at 11:44 PM, Chengwei Yang chengwei.yang...@gmail.com wrote: Hi List, I'm new to mesos and trying to download one from http://mesos.apache.org/downloads/ And it's saying that the most recent stable release is 0.16.0, however, I

http://mesos.apache.org/downloads/ is saying the latest release is 0.16.0

2014-03-05 Thread Chengwei Yang
Hi List, I'm new to mesos and trying to download one from http://mesos.apache.org/downloads/ And it's saying that the most recent stable release is 0.16.0, however, I found that 0.17.0 has been released in Feb. And it's also available in the download directory