Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce >> mail # user >> Re: Requesting containers on a specific host


Copy link to this message
-
Re: Requesting containers on a specific host
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 <[EMAIL PROTECTED]> 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 <
> [EMAIL PROTECTED]> 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/
>
>
>