I have read that AM in yarn asks for no of containers based on the current availability of resources. So my question is
Case 1 - If I run my job when no other job is running in the same queue then my job will get more no of containers.
Case 2- If queue is already occupied then job will get less no of containers.
Case 3- My job will get fixed no of containers.
It would be greatly helpful if you can tell my understanding is correct or not and on which parameter AM master asks for no of containers from RM.