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 95AD5200D09 for ; Tue, 12 Sep 2017 18:28:48 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 947921609C7; Tue, 12 Sep 2017 16:28:48 +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 AF7D51609C6 for ; Tue, 12 Sep 2017 18:28:47 +0200 (CEST) Received: (qmail 24788 invoked by uid 500); 12 Sep 2017 16:28:45 -0000 Mailing-List: contact common-dev-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list common-dev@hadoop.apache.org Received: (qmail 24735 invoked by uid 99); 12 Sep 2017 16:28:44 -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, 12 Sep 2017 16:28:44 +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 4914E1A2769; Tue, 12 Sep 2017 16:28:44 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.879 X-Spam-Level: * X-Spam-Status: No, score=1.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com 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 R4pSqLjRJJ2d; Tue, 12 Sep 2017 16:28:41 +0000 (UTC) Received: from mail-wm0-f44.google.com (mail-wm0-f44.google.com [74.125.82.44]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 86D7C5F6BE; Tue, 12 Sep 2017 16:28:41 +0000 (UTC) Received: by mail-wm0-f44.google.com with SMTP id i189so61476875wmf.1; Tue, 12 Sep 2017 09:28:41 -0700 (PDT) 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 :cc; bh=2xpHdkJnbTVyh6TjesHcM7Jp0CVcTHEgmgDvvNzLe/k=; b=g8Is15lwlyEjQfnChSmxmwtco1oeScX8OlR49w1DMGCTIdrj1Fxk/KLP8uQXmEOTJh u99TCGnasXGchrNawq+YFJ8LPKjO8yhDQaBBz1Obmcds2UQgfliHHH5m3CJXTdWEYgs4 8dkILiRt1Aa5usw3btaWKRjfh3UrZylaNcG4yAfils95yaQZIT2UzXHucw3ZlCeUS04z 1dgSNNScZMQmGP8vzls5U02JcUYX4XALDkjb3Ail51GT1R792KT/9R9nzAydeOyhsHer 7R+69Ar34kfjuYUVu4kSOdlgrbaalHn9ty56nZu2j/9bUVUuqYOnlh3A1OoWYN4cSUBe ZAzQ== 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:cc; bh=2xpHdkJnbTVyh6TjesHcM7Jp0CVcTHEgmgDvvNzLe/k=; b=bGWqObMI+6a1gTrmeudqLFnxexnaYlFXxjwyHPNOyw2YhPC5Op7XwnXL1TMfjKn1FO h9Iz3eCHEoHuDPM2jQMMeK81R9D2KAb5hTSM4lRyWaKlZM1MQcHthIuWu9slil4weV+r j5SD5ANAqNHTVsXY3uY7x3cukxGjHKcfukicV04q5nmmpdgr4miO1XkPqgEWdeRI9HUm G1zaKLSCuF654ymRg6CJpfbDdzHW4/9/w7N086qfruldjVW+PMMabaeKpUoAsThnE3yE 3uqMaYdnLAWM8QmhI7EZ7pYnP/tIAM4YeQoz9Uz9R+l+elMooVn8eDDpc507EM9FmtT1 uf4Q== X-Gm-Message-State: AHPjjUiE9/YSEws5SWAumXhSK4ZN/b8igfySdyTsjEiiHNWRX+5Rxo49 n5QiTppGNYaaVSiMAq+rwPQYU9bQ/qHA X-Google-Smtp-Source: ADKCNb7Vrqw/k4VoexmSTFZdGl8jCRvqIpT5wCGmKDzV+TMysF/wVM92OCQCLCKn/cU/rgi2ii64TElbezv7iJqDI4w= X-Received: by 10.80.147.13 with SMTP id m13mr7011058eda.33.1505233720423; Tue, 12 Sep 2017 09:28:40 -0700 (PDT) MIME-Version: 1.0 Received: by 10.80.241.203 with HTTP; Tue, 12 Sep 2017 09:28:09 -0700 (PDT) In-Reply-To: References: <7a65a87e-c17f-dc51-e594-ef09ac00e2c5@cloudera.com> From: Wangda Tan Date: Tue, 12 Sep 2017 09:28:09 -0700 Message-ID: Subject: Re: [VOTE] Merge YARN-3926 (resource profile) to trunk To: Sunil G Cc: Daniel Templeton , "yarn-dev@hadoop.apache.org" , "hdfs-dev@hadoop.apache.org" , "common-dev@hadoop.apache.org" , "mapreduce-dev@hadoop.apache.org" Content-Type: multipart/alternative; boundary="94eb2c19a5aa35bab0055900898c" archived-at: Tue, 12 Sep 2017 16:28:48 -0000 --94eb2c19a5aa35bab0055900898c Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi all, Given we have 3 binding +1s, the vote passes. I just push changes to trunk. Will update JIRAs accordingly. Thanks everybody for helping this feature and voting! Best, Wangda On Sat, Aug 26, 2017 at 8:58 AM, Sunil G wrote: > Hi Daniel > > Thank you very much for the support. > > * When you say that the feature can be turned > off, do you mean resource types or resource profiles? I know there's an > off-by-default property that governs resource profiles, but I didn't see > any way to turn off resource types. > Yes,*yarn.resourcemanager.resource-profiles.enabled* is false by default > and controls off/on of this feature. Now regarding new resource types, it= s > been loaded from "*resource-types.xml"* and by default this XML file is n= ot > available in the package. Thus prevents any issues in default case. Once > this file is added to a cluster then new resources will be loaded from > same. > > * Even if only CPU and memory are configured, i.e. no additional resource > types, the code path is different than it was. > Earlier primitive data types were used to represent vcores and memory. As > per resource profile work, all resources under YARN is categorized as > ResourceInformation and placed under existing Resource object. So memory > and vcores will be accessible and operable with same set of public apis > from Resources or ResourceCalculator (DRC) same as earlier even when > feature is off (Code path is same, but improved to support a unified > ResourceInformation class instead of memory/vcores primitive types). > > Thanks > Sunil > > > > > On Sat, Aug 26, 2017 at 8:10 PM Daniel Templeton > wrote: > > > Quick question, Wangda. When you say that the feature can be turned > > off, do you mean resource types or resource profiles? I know there's a= n > > off-by-default property that governs resource profiles, but I didn't se= e > > any way to turn off resource types. Even if only CPU and memory are > > configured, i.e. no additional resource types, the code path is > > different than it was. Specifically, where CPU and memory were > > primitives before, they're now entries in an array whose indexes have t= o > > be looked up through the ResourceUtils class. Did I miss something? > > > > For those who haven't followed the feature closely, there are really tw= o > > features here. Resource types allows for declarative extension of the > > resource system in YARN. Resource profiles builds on top of resource > > types to allow a user to request a group of resources as a profile, muc= h > > like EC2 instance types, e.g. "fast-compute" might mean 32GB RAM, 8 > > vcores, and 2 GPUs. > > > > Daniel > > > > On 8/23/17 11:49 AM, Wangda Tan wrote: > > > Hi folks, > > > > > > Per earlier discussion [1], I'd like to start a formal vote to merge > > > feature branch YARN-3926 (Resource profile) to trunk. The vote will r= un > > for > > > 7 days and will end August 30 10:00 AM PDT. > > > > > > Briefly, YARN-3926 can extend resource model of YARN to support > resource > > > types other than CPU and memory, so it will be a cornerstone of > features > > > like GPU support (YARN-6223), disk scheduling/isolation (YARN-2139), > FPGA > > > support (YARN-5983), network IO scheduling/isolation (YARN-2140). In > > > addition to that, YARN-3926 allows admin to preconfigure resource > > profiles > > > in the cluster, for example, m3.large means <2 vcores, 8 GB memory, 6= 4 > GB > > > disk>, so applications can request "m3.large" profile instead of > > specifying > > > all resource types=E2=80=99s values. > > > > > > There are 32 subtasks that were completed as part of this effort. > > > > > > This feature needs to be explicitly turned on before use. We paid clo= se > > > attention to compatibility, performance, and scalability of this > feature, > > > mentioned in [1], we didn't see observable performance regression in > > large > > > scale SLS (scheduler load simulator) executions and saw less than 5% > > > performance regression by using micro benchmark added by YARN-6775. > > > > > > This feature works from end-to-end (including > UI/CLI/application/server), > > > we have setup a cluster with this feature turned on runs for several > > weeks, > > > we didn't see any issues by far. > > > > > > Merge JIRA: YARN-7013 (Jenkins gave +1 already). > > > Documentation: YARN-7056 > > > > > > Special thanks to a team of folks who worked hard and contributed > towards > > > this effort including design discussion/development/reviews, etc.: > Varun > > > Vasudev, Sunil Govind, Daniel Templeton, Vinod Vavilapalli, Yufei Gu, > > > Karthik Kambatla, Jason Lowe, Arun Suresh. > > > > > > Regards, > > > Wangda Tan > > > > > > [1] > > > > > http://mail-archives.apache.org/mod_mbox/hadoop-yarn-dev/ > 201708.mbox/%3CCAD%2B%2BeCnjEHU%3D-M33QdjnND0ZL73eKwxRua4% > 3DBbp4G8inQZmaMg%40mail.gmail.com%3E > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org > > For additional commands, e-mail: yarn-dev-help@hadoop.apache.org > > > > > --94eb2c19a5aa35bab0055900898c--