Determining how many mappers will run?

0 votes
My Hadoop cluster’s HDFS block size is 64MB. I have a directory containing 100 plain text files, each of which is 100MB in size. The InputFormat for my job is TextInputFormat. Is there any way to determine how many Mappers will run in this case?

Can someone please help?

Thanks in advanace!
Aug 8, 2018 in Big Data Hadoop by Meci Matt
• 9,420 points
155 views

1 answer to this question.

0 votes
Here what happens is, each file would be split into two as the block size (64 MB) is less than the file size (100 MB), so 200 mappers would be running.
answered Aug 8, 2018 by nitinrawat895
• 10,730 points

Related Questions In Big Data Hadoop

0 votes
1 answer

If there are two joins in hive, how many mapreduce jobs will run?

There are two conditions for no. of ...READ MORE

answered Dec 19, 2018 in Big Data Hadoop by Omkar
• 67,660 points
174 views
–1 vote
1 answer

How many FSimage files will be created in hard disk?

In Hdfs, data and metadata are decoupled. ...READ MORE

answered Dec 20, 2018 in Big Data Hadoop by Omkar
• 67,660 points
108 views
0 votes
0 answers
0 votes
0 answers

How to run Hadoop in Docker containers?

I want to incorporate Hadoop in Docker ...READ MORE

Mar 16, 2018 in Big Data Hadoop by nitinrawat895
• 10,730 points
94 views
0 votes
1 answer

Hadoop dfs -ls command?

In your case there is no difference ...READ MORE

answered Mar 16, 2018 in Big Data Hadoop by kurt_cobain
• 9,260 points
1,221 views
0 votes
1 answer

Hadoop Mapreduce word count Program

Firstly you need to understand the concept ...READ MORE

answered Mar 16, 2018 in Data Analytics by nitinrawat895
• 10,730 points
3,369 views
0 votes
1 answer

How to get started with Hadoop?

Well, hadoop is actually a framework that ...READ MORE

answered Mar 21, 2018 in Big Data Hadoop by coldcode
• 2,020 points
105 views
0 votes
10 answers

hadoop fs -put command?

put syntax: put <localSrc> <dest> copy syntax: copyFr ...READ MORE

answered Dec 7, 2018 in Big Data Hadoop by Aditya
16,718 views
0 votes
7 answers

How to run a jar file in hadoop?

I used this command to run my ...READ MORE

answered Dec 10, 2018 in Big Data Hadoop by Dasinto
6,110 views
0 votes
1 answer

How will the Fair Scheduler handle more than one Job?

In your case when job B gets ...READ MORE

answered Aug 16, 2018 in Big Data Hadoop by nitinrawat895
• 10,730 points
50 views