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 842FB18BC9 for ; Mon, 7 Dec 2015 23:38:37 +0000 (UTC) Received: (qmail 38758 invoked by uid 500); 7 Dec 2015 23:38:34 -0000 Delivered-To: apmail-reef-dev-archive@reef.apache.org Received: (qmail 38719 invoked by uid 500); 7 Dec 2015 23:38:34 -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 38706 invoked by uid 99); 7 Dec 2015 23:38:34 -0000 Received: from Unknown (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 07 Dec 2015 23:38:34 +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 9A3701A0C39 for ; Mon, 7 Dec 2015 23:38:33 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.901 X-Spam-Level: ** X-Spam-Status: No, score=2.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (1024-bit key) header.d=cs.washington.edu Received: from mx1-us-east.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id fuHIbY0sHj77 for ; Mon, 7 Dec 2015 23:38:21 +0000 (UTC) Received: from mail-ig0-f170.google.com (mail-ig0-f170.google.com [209.85.213.170]) by mx1-us-east.apache.org (ASF Mail Server at mx1-us-east.apache.org) with ESMTPS id 3075443A01 for ; Mon, 7 Dec 2015 23:38:21 +0000 (UTC) Received: by igcmv3 with SMTP id mv3so90193513igc.0 for ; Mon, 07 Dec 2015 15:38:20 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.washington.edu; s=goo201206; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=7SOsWMakGTwYz3N3mZVI7FHu1joeyyHtJLe7GiESpYY=; b=KmtlhfEc6bmlr5fJHePoEtFMb8LtD1DBQ6ThmJC/ut60hO5c5LRRjEy1Rqqyhirgxx TOa2Zp46SE14LQiz/JLMa0UsTXkk0dud2NDASVC6EiDBV2gZkt4RFWr4Qve3KZgoLQy0 2ItCAfNTtlV3Amgnx2Woc7cNG5wdfnect8sV8= 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:date :message-id:subject:from:to:cc:content-type; bh=7SOsWMakGTwYz3N3mZVI7FHu1joeyyHtJLe7GiESpYY=; b=lg7lvoKHacpTFHyvjWJyPmEQkpkvFICDZs9YJJ+/08gfADSw4bsBmKR1ZyxxA+j/kJ uvIrPgWSO21eOea3kZCjxzvIVZHh//GCrNPcVGyelBQMf9oLo9wWQE9wXlTeIbi/i8eR nqJ7FFxregjPsh574fT/QGNAEKVn6SzMct6QLQrHP4Y2ciamG6j725XQo3bWokj+oNb9 n6cZMQXwhdIBGOK/ymdKA9YjCg8pgD9ooFAUj/7K0SZsuiGdEVU34FVPLs9Diy4eZiAP xMf91Lle9FI2yu9xGHpKctoeOnVrvuAXDwEskFypumUGR4NBrbJUFdAnL4QjLVTiwVYH GUUQ== X-Gm-Message-State: ALoCoQlEVdG0YNDByNZEKTdclrzA7vsbzsY2AhMeZCPsKCaJl3XQ0pUPSJZmHtoh7O7NDqzjQSWyCqr3dE5SKhjQzO78dhywLA== MIME-Version: 1.0 X-Received: by 10.50.138.2 with SMTP id qm2mr637178igb.32.1449531500764; Mon, 07 Dec 2015 15:38:20 -0800 (PST) Received: by 10.79.19.198 with HTTP; Mon, 7 Dec 2015 15:38:20 -0800 (PST) In-Reply-To: References: Date: Mon, 7 Dec 2015 15:38:20 -0800 Message-ID: Subject: Re: Specifying locality constraints for Driver From: Tobin Baker To: dev@reef.apache.org Cc: Brandon Haynes Content-Type: multipart/alternative; boundary=001a1135ffb031bc5a0526575a3e --001a1135ffb031bc5a0526575a3e Content-Type: text/plain; charset=UTF-8 Thanks for the tip about node labels! I'll see if I can get this working at the YARN level (I did something similar with node locality before that was added in the last release). Created a JIRA for this issue and assigned to myself: https://issues.apache.org/jira/browse/REEF-1048 On Mon, Dec 7, 2015 at 2:59 PM, Byung-Gon Chun wrote: > Hi Tobin, > > This's a requested feature for our customers as well in Korea. Driver runs > on a more powerful machine in the cluster. > There's no locality setter in YARN ApplicationSubmissionContext. > > https://hadoop.apache.org/docs/r2.6.1/api/org/apache/hadoop/yarn/api/records/ApplicationSubmissionContext.html#setNodeLabelExpression(java.lang.String) > > But we can achieve the effect you want by using node labels. This's not > currently exposed through REEF, though. A good item to contribute. :) > > Cheers, > Gon > > On Tue, Dec 8, 2015 at 7:51 AM, Tobin Baker > wrote: > > > Hi, our initial users for Myria on REEF would like to be able to launch > the > > driver on a particular node (because they have just enough memory on the > > non-coordinator nodes for a single Task evaluator and don't want to > > allocate enough slack memory on every node for the driver in case it gets > > randomly assigned to that node). I spent some time grepping REEF source ( > > > > > https://github.com/apache/reef/blob/master/lang/java/reef-common/src/main/java/org/apache/reef/client/DriverConfiguration.java > > , > > > > > https://github.com/apache/reef/blob/master/lang/java/reef-runtime-yarn/src/main/java/org/apache/reef/runtime/yarn/driver/YarnDriverConfiguration.java > > ) > > for such a configuration option, but came up empty. Am I missing > something? > > (Note that there may be a YARN bug that prevents this from working even > if > > I dropped down to YARN: > > > > > http://stackoverflow.com/questions/29302659/run-my-own-application-master-on-a-specific-node-in-a-yarn-cluster > > .) > > > > > > -- > Byung-Gon Chun > --001a1135ffb031bc5a0526575a3e--