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
Hi,
Can we submit container requests from multiple threads in parallel to the
Resource Manager?
Thanks,
Kishore
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
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,
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