Return-Path: X-Original-To: apmail-hadoop-hdfs-user-archive@minotaur.apache.org Delivered-To: apmail-hadoop-hdfs-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 CA232CB37 for ; Tue, 25 Jun 2013 10:14:10 +0000 (UTC) Received: (qmail 38263 invoked by uid 500); 25 Jun 2013 10:14:05 -0000 Delivered-To: apmail-hadoop-hdfs-user-archive@hadoop.apache.org Received: (qmail 37876 invoked by uid 500); 25 Jun 2013 10:14:03 -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 37866 invoked by uid 99); 25 Jun 2013 10:14:02 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 10:14:02 +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.175 as permitted sender) Received: from [209.85.223.175] (HELO mail-ie0-f175.google.com) (209.85.223.175) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 Jun 2013 10:13:57 +0000 Received: by mail-ie0-f175.google.com with SMTP id a13so27638533iee.34 for ; Tue, 25 Jun 2013 03:13: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=UvKSeh9hndFgpuxL7QT5Mb7+7QAnf9cIYaQOCYOfwZM=; b=fGcsANlkU5Ec7ukheG8rPT7ym1K3jlWMTRBAS9O3YWOiOKL0mGcgtkKE5TaGDnZARm 0tQqp2DUt4YrpEVBq9ITu4Nn5PGHA4ATvYhaUNQbgKFBAXWDnRM7GlsA37gDdpgLVcBD inbP3EN5Pp1vA2yBGY8RFJVO05OYfWyQe+5hgL3tuxYyrwDM7KtbtCKZdOd/sggfhWHX SNw54GnT1bqrXKZmf8l1eGR+RUWPvyPsTmnUxbz2bK6ZU3rrxSPUmGsmzZvRqc2cOV70 9RpBwxanXxJE4O5pwOpriD02srKfOL811WkUi7YGV4dg4+l5sNakLd9Rq1D9jRGFHlR5 AgxA== MIME-Version: 1.0 X-Received: by 10.50.109.161 with SMTP id ht1mr7924566igb.60.1372155217177; Tue, 25 Jun 2013 03:13:37 -0700 (PDT) Received: by 10.42.66.13 with HTTP; Tue, 25 Jun 2013 03:13:37 -0700 (PDT) In-Reply-To: <4AAA490D-B31B-4491-BA06-E38631E4ABAD@hortonworks.com> References: <4AAA490D-B31B-4491-BA06-E38631E4ABAD@hortonworks.com> Date: Tue, 25 Jun 2013 15:43:37 +0530 Message-ID: Subject: Re: Requesting containers on a specific host From: Krishna Kishore Bonagiri To: user@hadoop.apache.org Content-Type: multipart/alternative; boundary=047d7bfea9184bf39f04dff7c8ab X-Virus-Checked: Checked by ClamAV on apache.org --047d7bfea9184bf39f04dff7c8ab Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: quoted-printable Hi Arun, I just found that setHostName() doesn't work on 2.0.0-alpha and works on 2.0..4-alpha, I didn't check the intermediate versions. I have verified it by starting the daemons of respective versions, and modifying the ApplicationMaster.java in the distributed shell example, and running a date command on it. Is this something already known? or have I been doing something wrong? Thanks, Kishore On Fri, Jun 21, 2013 at 7:25 PM, Arun C Murthy wrote: > Check if the hostname you are setting is the same in the RM logs=85 > > On Jun 21, 2013, at 2:15 AM, Krishna Kishore Bonagiri < > write2kishore@gmail.com> wrote: > > Hi, > I am trying to get container on a specific host, using setHostName(0 > call on ResourceRequest, but could not get allocated anything forever, > which just works fine when I change the node name to "*". I am working on= a > single node cluster, and I am giving the name of the single node I have i= n > my cluster. > > Is there any specific format that I need to give for setHostName(), why > is it not working... > > Thanks, > Kishore > > > -- > Arun C. Murthy > Hortonworks Inc. > http://hortonworks.com/ > > > --047d7bfea9184bf39f04dff7c8ab Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: quoted-printable
Hi Arun,

=A0 I just found that setHostN= ame() doesn't work on 2.0.0-alpha and works on 2.0..4-alpha, I didn'= ;t check the intermediate versions. I have verified it by starting the daem= ons of respective versions, and modifying the ApplicationMaster.java in the= distributed shell example, and running a date command on it. =A0Is this so= mething already known? or have I been doing something wrong?

Thanks,
Kishore
=



On Fri, Jun 21, 2013 at 7:25 PM, Arun C Murthy <acm@horton= works.com> wrote:
Check if= the hostname you are setting is the same in the RM logs=85

On Jun 21, 2013, at 2:15 AM, Krishna Kishore Bonagiri <write2kishore@gma= il.com> wrote:

H= i,
=A0 I am trying to get container on a specific host, using setHostName(0 ca= ll on ResourceRequest, but could not get allocated anything forever, which = just works fine when I change the node name to "*". I am working = on a single node cluster, and I am giving the name of the single node I hav= e in my cluster.=A0

=A0 Is there any specific format that I need to g= ive for setHostName(), why is it not working...

Th= anks,
Kishore

--
Arun C. Murthy
Hortonworks Inc.
http://hortonworks.com/



--047d7bfea9184bf39f04dff7c8ab--