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 3AFA4200CAE for ; Wed, 7 Jun 2017 00:01:23 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 39940160BB7; Tue, 6 Jun 2017 22:01:23 +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 7F4C8160BC6 for ; Wed, 7 Jun 2017 00:01:22 +0200 (CEST) Received: (qmail 45878 invoked by uid 500); 6 Jun 2017 22:01:21 -0000 Mailing-List: contact issues-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 issues@mesos.apache.org Received: (qmail 45686 invoked by uid 99); 6 Jun 2017 22:01:21 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 06 Jun 2017 22:01:21 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id A0F871AFE08 for ; Tue, 6 Jun 2017 22:01:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -99.202 X-Spam-Level: X-Spam-Status: No, score=-99.202 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-0.001, USER_IN_WHITELIST=-100] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 85gWMBrC5T3m for ; Tue, 6 Jun 2017 22:01:19 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTP id 5580B5FCBB for ; Tue, 6 Jun 2017 22:01:19 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id CB605E0D99 for ; Tue, 6 Jun 2017 22:01:18 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 2D9EF21E10 for ; Tue, 6 Jun 2017 22:01:18 +0000 (UTC) Date: Tue, 6 Jun 2017 22:01:18 +0000 (UTC) From: "Michael Park (JIRA)" To: issues@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Assigned] (MESOS-7633) Prevent hierarchical roles from being allocated resources from non-HIERARCHICAL_ROLE agents. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Tue, 06 Jun 2017 22:01:23 -0000 [ https://issues.apache.org/jira/browse/MESOS-7633?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Michael Park reassigned MESOS-7633: ----------------------------------- Assignee: Michael Park > Prevent hierarchical roles from being allocated resources from non-HIERARCHICAL_ROLE agents. > -------------------------------------------------------------------------------------------- > > Key: MESOS-7633 > URL: https://issues.apache.org/jira/browse/MESOS-7633 > Project: Mesos > Issue Type: Task > Reporter: Michael Park > Assignee: Michael Park > > Since non-{{HIERARCHICAL_ROLE}} agents cannot handle volume creation on hierarchical roles. > There are a couple of approaches we could have taken here. > (1) Fine-grained: Offer the resources, and reject requests to create volumes on a hierarchical role. > (2) Coarse-grained: Don't offer the resources, require that the agent be upgraded before used with a {{HIERARCHICAL_ROLE}} framework. > The current plan is to pursue (2). A couple of reasons for this. First is that this is a generic behavior that can be expected for any new capability. For example, a {{MULTI_ROLE}} framework does not get offered resources from a non-{{MULTI_ROLE}} agent. > Another reason is there is no feedback loop for a framework when operations fail currently. I believe that it would be more difficult to debug a situation in which a framework's request is being silently dropped, as opposed to not getting offered resources from the agent to begin with. -- This message was sent by Atlassian JIRA (v6.3.15#6346)