Return-Path: X-Original-To: apmail-mesos-dev-archive@www.apache.org Delivered-To: apmail-mesos-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id B79D0111AC for ; Mon, 14 Apr 2014 07:49:26 +0000 (UTC) Received: (qmail 28258 invoked by uid 500); 14 Apr 2014 07:49:21 -0000 Delivered-To: apmail-mesos-dev-archive@mesos.apache.org Received: (qmail 28055 invoked by uid 500); 14 Apr 2014 07:49:19 -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 27983 invoked by uid 99); 14 Apr 2014 07:49:17 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 14 Apr 2014 07:49:17 +0000 Date: Mon, 14 Apr 2014 07:49:16 +0000 (UTC) From: "Adam B (JIRA)" To: dev@mesos.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (MESOS-1141) Add a 'user' field to CommandInfo. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/MESOS-1141?page=3Dcom.atlassian= .jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D1396= 8145#comment-13968145 ]=20 Adam B commented on MESOS-1141: ------------------------------- M=C3=A1rton provided a proof-of-concept that we will clean up and post for = review soon. > Add a 'user' field to CommandInfo. > ---------------------------------- > > Key: MESOS-1141 > URL: https://issues.apache.org/jira/browse/MESOS-1141 > Project: Mesos > Issue Type: Improvement > Components: framework, master, slave > Reporter: Benjamin Hindman > Assignee: Adam B > > A framework must specify the 'user' it wants to use at the time of regist= ration by filling in the 'user' field of FrameworkInfo. Instead, a framewor= k should be able to specify a user per task or executor by including the us= er in CommandInfo. The source of truth for the user from the slave's perspe= ctive should be CommandInfo.user and the master should validate (and possib= ly update) CommandInfo.user when a task is launched. We'll also need to aut= horize each user a framework attempts to use during task validation. -- This message was sent by Atlassian JIRA (v6.2#6252)