It depends on memory settings as well, that how much you want to assign resources to each container. Then yarn will run as many mappers in parallel as possible.
See this: http://hortonworks.com/blog/how-to-plan-and-configure-yarn-in-hdp-2-0/ http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.6.0/bk_installing_manually_book/content/rpm-chap1-11.html Regards, Shahab On Wed, Oct 15, 2014 at 8:09 AM, SACHINGUPTA <sac...@datametica.com> wrote: > Hi guys > > I have situation in which i have machine with 4 processor and i have 5 > containers so does it mean i can have only 4 mappers running parallely at a > time > > and number of mappers is not dependent on the number of containers in a > machine then what is the use of container concept > > sorry if i have asked anything obvious. > > -- > Thanks > Sachin Gupta > >