Amazing thanks, it worked. I didn't mentioned last flag 'false'
Thanks kishor. :)
Sent from my iPhone
> On Feb 16, 2014, at 11:55 PM, Krishna Kishore Bonagiri
> wrote:
>
> Hi Anand,
>
> Which version of Hadoop are you using? It works from 2.2.0
>
> Try like this, and it should work. I am
Hi Anand,
Which version of Hadoop are you using? It works from 2.2.0
Try like this, and it should work. I am using this feature on 2.2.0
String[] hosts = new String[1];
hosts[0] = node_name;
ContainerRequest request = new ContainerRequest(capability, hosts,
null, p, false)
Hi All,
How can I launch container on a particular host?
I tried specifying host name in
new ContainerRequest()
Thanks,
Anand
YARN currently does not provide any guarantees that a container will be
placed where you ask for it. This is being addressed in YARN-392 and
YARN-398. For now, the Fair Scheduler and Capacity Scheduler will make a
best effort to do this through delay scheduling. If you use the Fair
Scheduler, yo
I get a container, but not on the node I'm asking for.
Thanks,
Brian
On 04/12/2013 03:01 PM, Sandy Ryza wrote:
What do you mean when you say it doesn't seem to use the code? That
you're not getting containers back?
-Sandy
On Fri, Apr 12, 2013 at 7:44 AM, Brian C. Huffman
mailto:bhuff...@et
What do you mean when you say it doesn't seem to use the code? That you're
not getting containers back?
-Sandy
On Fri, Apr 12, 2013 at 7:44 AM, Brian C. Huffman <
bhuff...@etinternational.com> wrote:
> Yes, this is exactly the DistributedShell example in the 2.0.3 source
> (except for the added
Yes, this is exactly the DistributedShell example in the 2.0.3 source
(except for the added specification of containerNode).
So, it's doing the following:
ContainerRequest containerAsk = setupContainerAskForRM(askCount);
resourceManager.addContainerRequest(containerAsk);
There shouldn't be issues handling nulls etc. - obviously depends on scheduler,
but if you see any we will fix it ASAP.
On Apr 12, 2013, at 12:20 AM, Harsh J wrote:
> Hi Brian,
>
> Your way of creation seems fine. Are you "adding" this to the
> AMRMClient somewhere though, via [1], right before
Hi Brian,
Your way of creation seems fine. Are you "adding" this to the
AMRMClient somewhere though, via [1], right before you call
allocate(progress)? Cause otherwise this object's not used at all.
P.s. I'm not sure we'll handle that null for racks all that well in
certain places yet; I've notic
All,
I'm starting to work with YARN and I'm trying to make some changes to
the distributedshell example.
Specifically I'm trying to set the host where the distributed shell
container will run. I added the following code into
ApplicationMaster.java:
final String[] containerNodes = { "no
10 matches
Mail list logo