Return-Path: X-Original-To: apmail-aurora-dev-archive@minotaur.apache.org Delivered-To: apmail-aurora-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 3A493188D5 for ; Wed, 2 Sep 2015 21:07:46 +0000 (UTC) Received: (qmail 55200 invoked by uid 500); 2 Sep 2015 21:07:46 -0000 Delivered-To: apmail-aurora-dev-archive@aurora.apache.org Received: (qmail 55060 invoked by uid 500); 2 Sep 2015 21:07:46 -0000 Mailing-List: contact dev-help@aurora.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.apache.org Delivered-To: mailing list dev@aurora.apache.org Received: (qmail 54952 invoked by uid 99); 2 Sep 2015 21:07:45 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 02 Sep 2015 21:07:45 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 3F23DC0C9B for ; Wed, 2 Sep 2015 21:07:45 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.88 X-Spam-Level: ** X-Spam-Status: No, score=2.88 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id UN_Mfv-rjplZ for ; Wed, 2 Sep 2015 21:07:38 +0000 (UTC) Received: from mail-vk0-f42.google.com (mail-vk0-f42.google.com [209.85.213.42]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id 9B1F124A0B for ; Wed, 2 Sep 2015 21:07:38 +0000 (UTC) Received: by vkbf67 with SMTP id f67so13607301vkb.0 for ; Wed, 02 Sep 2015 14:07:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=DgS9vJ5qDNk84t8uK3aL8oPzZ+HXMzMgH6Q39p+fPCk=; b=W6RnsA7zAjk+5guZGtEn2NPsX1IqpRbymK2N2RzmGT5Llku+aRypwpTYqX2cg3JLts s0uatl+W8uecQVGDdsCE6nPskawoQeeDWSb4iGjOd2EO5ioxmJLYbsq62LWnqKIjqPFn /ZEUnis5ec/8jjMuGiJfHWOwCPs3UkmQ1Fx8HrFMEFADMT5DEzBBJc0nde8cWK63oMfX FJ52ROuhPhllb1Qz0dW3ulTcm3oNFV5LGjCDY1NdpBomvxyw2982srQ4ERO02bNiooCV GLPHeJDwoe2erB3g321grBdj/CJjptFk2hQ9WHXU4KPlhE86et7DJsWukjJNVLmklKTB 4ceA== MIME-Version: 1.0 X-Received: by 10.52.9.169 with SMTP id a9mr9239199vdb.57.1441228057812; Wed, 02 Sep 2015 14:07:37 -0700 (PDT) Received: by 10.31.9.75 with HTTP; Wed, 2 Sep 2015 14:07:37 -0700 (PDT) In-Reply-To: <1441224385149.41386@blue-yonder.com> References: <1441224385149.41386@blue-yonder.com> Date: Wed, 2 Sep 2015 14:07:37 -0700 Message-ID: Subject: Re: Meaning and usage of job environments From: Bill Farner To: dev@aurora.apache.org Content-Type: multipart/alternative; boundary=20cf3030c0416d248e051eca0e4a --20cf3030c0416d248e051eca0e4a Content-Type: text/plain; charset=UTF-8 Environments were introduced as a first-class concept for namespacing. In theory, it's useful so you can have something like a 'test' namespace that contains all the same jobs as the 'prod' namespace. Prior to this, users were namespacing within the job name, which was not so nice. There have also been discussions around implied policy with environment names, but that has not materialized. In general, would you be opposed to moving this validation to the > scheduler, so that it can be configured cluster wide? > I've wanted to see this happen, an would be in favor. This would enable us to introduce environment names which are closer to our > domain and organization. Or is this even somewhat covered in the upcoming > job tier implementation? > It's not covered by tiers. Tiers are loosely related to environments, but the current plan is to keep them decoupled. I would encourage you to explore the scheduler-side enforcement. On Wed, Sep 2, 2015 at 1:06 PM, Erb, Stephan wrote: > Hi everyone, > > I have been wondering about the environment part of Aurora jobkeys (devel, > test, staging, staging1, ...prod). > > I guess you made the environment a first class citizen in order to enforce > some kind of standardization. How is this working out for you in practice? > > IIRC, the current set of supported environment names is enforced by the > client. In general, would you be opposed to moving this validation to the > scheduler, so that it can be configured cluster wide? This would enable us > to introduce environment names which are closer to our domain and > organization. Or is this even somewhat covered in the upcoming job tier > implementation? > > Thanks for your input, > Stephan --20cf3030c0416d248e051eca0e4a--