hadoop-hdfs-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Krishna Kishore Bonagiri <write2kish...@gmail.com>
Subject Re: Requesting containers on a specific host
Date Tue, 25 Jun 2013 10:13:37 GMT
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?


On Fri, Jun 21, 2013 at 7:25 PM, Arun C Murthy <acm@hortonworks.com> wrote:

> Check if the hostname you are setting is the same in the RM logsā€¦
> 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 in
> 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/

View raw message