Re: Why hadoop is spawing two map over file size 1.5 KB ?

2013-03-16 Thread Vinod Kumar Vavilapalli
What's your input-format?

Thanks,
+Vinod Kumar Vavilapalli

On Mar 12, 2013, at 3:27 AM, samir das mohapatra wrote:

 Hi All,
   I have very fundamental doubt, I have file having size 1.5KB and block size 
 is default block size, But i could see two mapper it got creted during the 
 Job. Could you please help  to get whole picture why it is .
 
 Regards,
 samir.



Re: Why hadoop is spawing two map over file size 1.5 KB ?

2013-03-14 Thread Yanbo Liang
I guess may be one of them is the speculative execution.
You can check the parameter mapred.map.tasks.speculative.execution to
ensure whether it is allowed speculative execution.
You can get the precise information that whether it is speculative map task
from the tasktracker log.

2013/3/12 samir das mohapatra samir.help...@gmail.com

 Hi All,
   I have very fundamental doubt, I have file having size 1.5KB and block
 size is default block size, But i could see two mapper it got creted during
 the Job. Could you please help  to get whole picture why it is .

 Regards,
 samir.