Return-Path: X-Original-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-mapreduce-user-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 40ECF107A6 for ; Fri, 27 Sep 2013 18:15:33 +0000 (UTC) Received: (qmail 8914 invoked by uid 500); 27 Sep 2013 18:15:26 -0000 Delivered-To: apmail-hadoop-mapreduce-user-archive@hadoop.apache.org Received: (qmail 8633 invoked by uid 500); 27 Sep 2013 18:15:25 -0000 Mailing-List: contact user-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@hadoop.apache.org Delivered-To: mailing list user@hadoop.apache.org Received: (qmail 8541 invoked by uid 99); 27 Sep 2013 18:15:25 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Sep 2013 18:15:25 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of write2kishore@gmail.com designates 209.85.223.173 as permitted sender) Received: from [209.85.223.173] (HELO mail-ie0-f173.google.com) (209.85.223.173) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 27 Sep 2013 18:15:20 +0000 Received: by mail-ie0-f173.google.com with SMTP id ar20so4682587iec.32 for ; Fri, 27 Sep 2013 11:15:00 -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=R2oXMmT5D02KhiObGBGLoAeqoduRZhIAsjzklzsvNfw=; b=jmU3bsNb+9XDMTvgiZ5gC/0qDORm5Dhpkk5ygssmoEfdVqm4T/qDg6sxeUXu5iuqkA coYpqMpcFIj1o0V/sYcDPw1ihTL8xW0Uccrqww//zNWwDvJ/phBDh9Gghoax0j4jkPAz nhJA7SMJvf0ofuBw2C0G6tdhM5AlWhpmDWoTYUcyKfAGBSZy+hV+qhSdp2GWP1YEjCXq CFQz42eRlNzDePcx8i9ux8ubrZYQy7v6piD8DBLni97RjTmbAfpbrcqrFxl8PBEMoTPe YuaaY5iJl1bLYl08GwwlvA808jSjECLwqPSuqNSULImdEXf/gDPWW3lO6zJgSSTRrJLw 24gA== MIME-Version: 1.0 X-Received: by 10.43.158.8 with SMTP id ls8mr1645348icc.54.1380305699872; Fri, 27 Sep 2013 11:14:59 -0700 (PDT) Received: by 10.43.15.137 with HTTP; Fri, 27 Sep 2013 11:14:59 -0700 (PDT) In-Reply-To: References: Date: Fri, 27 Sep 2013 23:44:59 +0530 Message-ID: Subject: Re: Can container requests be made paralelly from multiple threads From: Krishna Kishore Bonagiri To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=001a11c1e954ec294404e76176aa X-Virus-Checked: Checked by ClamAV on apache.org --001a11c1e954ec294404e76176aa Content-Type: text/plain; charset=ISO-8859-1 Hi Omkar, Thanks for the quick reply. I have a requirement for sets of containers depending on some of my business logic. I found that each of the request allocations is taking around 2 seconds, so I am thinking of doing the requests at the same from multiple threads. Kishore On Fri, Sep 27, 2013 at 11:27 PM, Omkar Joshi wrote: > Hi, > > I suggest you should not do that. After YARN-744 goes in this will be > prevented on RM side. May I know why you want to do this? any advantage/ > use case? > > Thanks, > Omkar Joshi > *Hortonworks Inc.* > > > On Fri, Sep 27, 2013 at 8:31 AM, Krishna Kishore Bonagiri < > write2kishore@gmail.com> wrote: > >> Hi, >> >> Can we submit container requests from multiple threads in parallel to >> the Resource Manager? >> >> Thanks, >> Kishore >> > > > CONFIDENTIALITY NOTICE > NOTICE: This message is intended for the use of the individual or entity > to which it is addressed and may contain information that is confidential, > privileged and exempt from disclosure under applicable law. If the reader > of this message is not the intended recipient, you are hereby notified that > any printing, copying, dissemination, distribution, disclosure or > forwarding of this communication is strictly prohibited. If you have > received this communication in error, please contact the sender immediately > and delete it from your system. Thank You. --001a11c1e954ec294404e76176aa Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hi Omkar,

=A0 Thanks for the quick reply. I h= ave a requirement for sets of containers depending on some of my business l= ogic. I found that each of the request allocations is taking around 2 secon= ds, so I am thinking of doing the requests at the same from multiple thread= s.

Kishore

On Fri, Sep 27, 2013 at 11:27 PM, Omkar Jos= hi <ojoshi@hortonworks.com> wrote:
Hi,

I su= ggest you should not do that. After YARN-744 goes in this will be prevented= on RM side. May I know why you want to do this? any advantage/ use case?= =A0

Thanks,<= div>Omkar Joshi


On Fri, Sep 27, 2013 at 8:31 AM, Krishna= Kishore Bonagiri <write2kishore@gmail.com> wrote:
=
Hi,

=A0 Can we submit container requests from= multiple threads in parallel to the Resource Manager?

=
Thanks,
Kishore


CONFIDENTIALITY NOTICE
NOTICE: This message is = intended for the use of the individual or entity to which it is addressed a= nd may contain information that is confidential, privileged and exempt from= disclosure under applicable law. If the reader of this message is not the = intended recipient, you are hereby notified that any printing, copying, dis= semination, distribution, disclosure or forwarding of this communication is= strictly prohibited. If you have received this communication in error, ple= ase contact the sender immediately and delete it from your system. Thank Yo= u.

--001a11c1e954ec294404e76176aa--