Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id BA024200C05 for ; Mon, 23 Jan 2017 20:49:16 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id B8909160B49; Mon, 23 Jan 2017 19:49:16 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 0E968160B3C for ; Mon, 23 Jan 2017 20:49:15 +0100 (CET) Received: (qmail 29939 invoked by uid 500); 23 Jan 2017 19:49:15 -0000 Mailing-List: contact dev-help@mesos.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@mesos.apache.org Delivered-To: mailing list dev@mesos.apache.org Received: (qmail 29927 invoked by uid 99); 23 Jan 2017 19:49:14 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 23 Jan 2017 19:49:14 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 5A41B181A94 for ; Mon, 23 Jan 2017 19:49:14 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.379 X-Spam-Level: X-Spam-Status: No, score=0.379 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id 6MxpFIPKmCqd for ; Mon, 23 Jan 2017 19:49:11 +0000 (UTC) Received: from mail-oi0-f51.google.com (mail-oi0-f51.google.com [209.85.218.51]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 28BEC5F46D for ; Mon, 23 Jan 2017 19:49:11 +0000 (UTC) Received: by mail-oi0-f51.google.com with SMTP id m124so86554487oif.1 for ; Mon, 23 Jan 2017 11:49:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=g33J+zsr3PVfTZOhBOfkrknWBxGDRjXShOk2ya07hes=; b=YYA52iZQl3Hf6AeDwPr84Vo4HpI/0NHPtPi1VnMzpAvyDlRhuPgSMThtLpAtMqWAf+ gql0x5lgKIegecfNlP8uC90sIlnZT937jllm/bJGqsM2tp81k9WzmukV06MBDK0CXA8l zyJxU2TTgXbck1vNrteoB5HkvoSzmY5PaIBRm6WJDGT7bYmb8siPLKq4f1XLDRl+vaNo JAI3TGtB23gCdp8s2/D0MTMFdMSsHaoh/LHYMMnSXR2O7e6TeMnBIR1qzGKh7XmfJO3J i4T/oIIMbBb1W+9EB7YqXQlER6YJA5xFLbFTSUQnxa3todPNHd7UhUxJIsOprRByhJI0 20DQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=g33J+zsr3PVfTZOhBOfkrknWBxGDRjXShOk2ya07hes=; b=pbsohduxs2c6C9gkBL1FLM0umgXl34KWC4LiSkcF57mZwTn1sUHRPM7OkeZzxKn8re jxcoBXrYbcnyblg1YPBf6rql0VIei7JlT0+PK36KLZKPdwD5TSMKTotoUN1ybOB0e0co 3RrY3oErrBIlIYCQKAgkNCJe8TIzAqcUAvxEHduaom7uIR9cZnCgCZKRKaoMPwfCb0qk eK8kpvUycIndlhXRsBbKuaRbI6jQuqvJU6WBdUoAlEydVf2IbMTGDKoX+WJix0MRQaYy 63a9M3lsIEVxp+lUPtYf7chZJdIGUbn7yc7pDF15l2ydiXRXyW4S7cV0BT/FpzXt8Hcf qUww== X-Gm-Message-State: AIkVDXLtjEetCA+Xuedd2LuWD1ZD51bovyatLskVV5rREN+rBfwf+Xq0OA7EBNPJ6+t8qcvGhRIZZbxZc8YVdw== X-Received: by 10.202.177.215 with SMTP id a206mr13488644oif.147.1485200949874; Mon, 23 Jan 2017 11:49:09 -0800 (PST) MIME-Version: 1.0 Received: by 10.182.80.71 with HTTP; Mon, 23 Jan 2017 11:49:09 -0800 (PST) In-Reply-To: References: From: Neil Conway Date: Mon, 23 Jan 2017 11:49:09 -0800 Message-ID: Subject: Re: Disallowing pre-1.0 Mesos agents To: dev Content-Type: text/plain; charset=UTF-8 archived-at: Mon, 23 Jan 2017 19:49:16 -0000 Right -- I'll add a note to that effect to the CHANGELOG for 1.3.0. Neil On Fri, Jan 20, 2017 at 7:11 PM, Benjamin Mahler wrote: > +1 > > Thanks for taking on the explicit rejection, much needed safety > improvement. If we state that a Mesos 1.3.0 master will not support pre-1.0 > agents, it seems to carry an implication that we supported 1.2 and 1.1 > having pre-1.0 agents. While it might work, we should clarify for users per > vinod's comment. > > On Fri, Jan 20, 2017 at 12:45 PM, Vinod Kone wrote: > >> +1 >> >> Technically 0.28.0 was only supposed to be compatible with 0.27.0 and 1.0. >> >> >> On Fri, Jan 20, 2017 at 8:02 PM, Zameer Manji wrote: >> >> > +1 >> > >> > >> > >> > On Fri, Jan 20, 2017 at 10:58 AM, Neil Conway >> > wrote: >> > >> > > I'd like to propose that the Mesos 1.3.0 should not allow pre-1.0 >> > > Mesos agents to register. >> > > >> > > Motivation: >> > > >> > > (1) We can simplify the master code in a few places. For example, we >> > > can assume that we always have a FrameworkInfo for any task running on >> > > a registered agent. Needing to handle running tasks without a >> > > FrameworkInfo makes the code unreadable and has been a source of bugs. >> > > >> > > (2) The master only needs to report "orphan tasks" and "unregistered >> > > frameworks" if the cluster contains pre-1.0 agents. If we disallow >> > > such agents, we can remove the code for computing these fields in the >> > > HTTP endpoints and elsewhere. (We'll probably still need to keep the >> > > actual fields in the JSON/protobuf output for backward compatibility, >> > > but they will always be empty.) We can also remove "orphan tasks" from >> > > the web UI. >> > > >> > > In addition to declaring that Mesos 1.3.0 masters will not support >> > > pre-1.0 Mesos agents in the CHANGELOG, it seems safer to me to >> > > disallow such agents from registering. >> > > >> > > Comments welcome. >> > > >> > > Thanks, >> > > Neil >> > > >> > > -- >> > > Zameer Manji >> > > >> > >>