Re: Can container requests be made paralelly from multiple threads

2013-09-29 Thread Jian He
Hi, If you adopt hadoop-2.1-beta, StartContainerRequest is changed to StartContainer(s)Request, meaning it can accept a list of container start requests and start those containers in one RPC call. Jian On Fri, Sep 27, 2013 at 1:06 PM, Omkar Joshi ojo...@hortonworks.com wrote: My point is

Can container requests be made paralelly from multiple threads

2013-09-27 Thread Krishna Kishore Bonagiri
Hi, Can we submit container requests from multiple threads in parallel to the Resource Manager? Thanks, Kishore

Re: Can container requests be made paralelly from multiple threads

2013-09-27 Thread Omkar Joshi
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.* http://www.hortonworks.com On Fri, Sep 27, 2013 at 8:31 AM, Krishna Kishore Bonagiri

Re: Can container requests be made paralelly from multiple threads

2013-09-27 Thread Krishna Kishore Bonagiri
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,

Re: Can container requests be made paralelly from multiple threads

2013-09-27 Thread Omkar Joshi
My point is why you want multiple threads as a part of single AM talking to RM simultaneously? I think AMRMProtocol only AM is suppose to use and if the requirement is to have multiple requestor requesting resources then it should be clubbed into one single request and sent to RM. One more thing