PrepAway - Latest Free Exam Questions & Answers

How many Mappers will run?

On a cluster running MapReduce v2 (MRv2) on YARN, a MapReduce job is given a directory of 10
plain text as its input directory. Each file is made up of 3 HDFS blocks. How many Mappers will
run?

PrepAway - Latest Free Exam Questions & Answers

A.
We cannot say; the number of Mappers is determined by the RsourceManager

B.
We cannot say; the number of Mappers is determined by the ApplicationManager

C.
We cannot say; the number of Mappers is determined by the developer

D.
30

E.
3

F.
10

6 Comments on “How many Mappers will run?

  1. John says:

    Answer is “D”.
    10 files x 3 blocks = 30 blocks.
    Number of Mappers (in YARN) = number of input splits (in this case blocks) = 30




    0



    0

Leave a Reply

Your email address will not be published. Required fields are marked *