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,460 points
324 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,920 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
• 69,060 points
726 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
• 69,060 points
231 views
0 votes
0 answers
0 votes
1 answer

How to run Hadoop in Docker containers?

Hi, You can run Hadoop in Docker container. Follow ...READ MORE

answered Jan 24 in Big Data Hadoop by MD
• 21,860 points
320 views
–1 vote
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,310 points
1,888 views
+1 vote
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,920 points
5,062 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,050 points
196 views
+1 vote
11 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
29,811 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
9,395 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,920 points
83 views