Return-Path: X-Original-To: apmail-reef-dev-archive@minotaur.apache.org Delivered-To: apmail-reef-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 2942619F8D for ; Tue, 22 Mar 2016 00:50:06 +0000 (UTC) Received: (qmail 7178 invoked by uid 500); 22 Mar 2016 00:50:06 -0000 Delivered-To: apmail-reef-dev-archive@reef.apache.org Received: (qmail 7165 invoked by uid 500); 22 Mar 2016 00:50:06 -0000 Mailing-List: contact dev-help@reef.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@reef.apache.org Delivered-To: mailing list dev@reef.apache.org Received: (qmail 7153 invoked by uid 99); 22 Mar 2016 00:50:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 22 Mar 2016 00:50:05 +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 F2484C0BC5 for ; Tue, 22 Mar 2016 00:50:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.701 X-Spam-Level: X-Spam-Status: No, score=-0.701 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=weimo-de.20150623.gappssmtp.com Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id neuEjf9kj6zl for ; Tue, 22 Mar 2016 00:50:03 +0000 (UTC) Received: from mail-vk0-f43.google.com (mail-vk0-f43.google.com [209.85.213.43]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 772665F1E3 for ; Tue, 22 Mar 2016 00:50:02 +0000 (UTC) Received: by mail-vk0-f43.google.com with SMTP id e6so235337630vkh.2 for ; Mon, 21 Mar 2016 17:50:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=weimo-de.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=rG9wJ14FXLfN0Db+vL++7JI6VkDPmlHjricqnxd0Z4E=; b=i/zAp1P835D7SAKWEbvGY2wDcUQasT08rMcgd48nFLTyZohHnqGhLAGt1gWEdOpq45 4r2QoEglrLXRU29supsUEf2qZTlZeU943Ygf2cNI6MledftJkRgeLqSlE4Wj3LaqlHdc 7IJ3JYYZDMD6HmSPq3lbbsMV+wimQHm0+VDGoyMis1hgnRjbHVKyulUC0ymOJMCGJA+V L6B8EZiVaEh8oi8DiYnF6kxshXu6ZGIVQbuZa54aFWnbbtmD/bsJ/6nAXNKiUL4HID56 OZ9MHJTKhg9jqDwZKlMsS8uRmXhvbqrOJ+3vqqa2Nw9M5BsSEeLv3E9qQijckQu3ArGw WO0A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=rG9wJ14FXLfN0Db+vL++7JI6VkDPmlHjricqnxd0Z4E=; b=EW4W/UT9ib2yJvBAErutpKI20HvbLYUbYGzic6QnRGnkBhHE/1bWDSQ/ruNRu+NsC8 x7kMmQameFmMWBpdqGz/oiMvAfrT3cP8aLGJS2MhRUM3OzClyqxDAWsSsU4aM4zzdwIq WwO9tZrDqmuEoGXwFe/PD4z+QCsSKV30OaThMV+907sR4CJxxSVVT//PaBIV2s7ZxW0A 0EvFlhR8av+0j4ONXp07/PivPcZ2MzLqFBhgk9olebTqEPZtvrv8tvYmO8h4NYMUr5Wa yzsSoQnAbs2hVeH0SRV8HHV4qyyQh/+5TnuAM6CvmsteiycFZ2GetRdSyO1sJjUTpqQz +QGA== X-Gm-Message-State: AD7BkJLzTfEi/n9CDJJjU7KcCfMtyrLVYEqE3OOjnZZxAkDdsvOEP0OCrsxPt885fhTQc5n0/XFXpYr89sBwdA== X-Received: by 10.176.3.43 with SMTP id 40mr2987719uat.120.1458607801510; Mon, 21 Mar 2016 17:50:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.69.227 with HTTP; Mon, 21 Mar 2016 17:49:42 -0700 (PDT) X-Originating-IP: [50.46.112.139] In-Reply-To: References: From: Markus Weimer Date: Mon, 21 Mar 2016 17:49:42 -0700 Message-ID: Subject: Re: Map EvaluatorRequest to AllocatedEvaluator To: aasojj@gmail.com, REEF Developers Mailinglist Content-Type: text/plain; charset=UTF-8 On Mon, Mar 21, 2016 at 4:43 PM, Ashvin A wrote: > Is there a REEF jira I could watch? I don't think so. Maybe we should check whether YARN has one? > And are there any known workarounds? As you mentioned, you can submit sequentially. When you have vastly different requests, you can send the requests all at once, and then disambiguate in the `AllocatedEvaluator` handler. This works when you have one kind of container with let's say 4 cores and another one with 1 core. However, YARN is allowed to "round up" to the nearest container size. If that is 4 cores on a cluster you use, it will always give you 4 core containers, even if you request 1 core... In REEF.NET, there is a (ill-fated, IMHO) attempt at codifying such a matchmaking approach. But for the reasons outlined here, it is also doomed to fail in much the same ways :( Markus