Free Online Certification Courses – Learn Today. Lead Tomorrow. › Forums › Apache Hadoop › Hadoop This topic has 1 reply, 1 voice, and was last updated 5 years, 7 months ago by DataFlair Team. Viewing 1 reply thread Author Posts September 20, 2018 at 3:13 pm #5454 DataFlair TeamSpectator We have a 400MB file containing single line of data and the HDFS block size is 128MB. How many mappers do we need to read the file? September 20, 2018 at 3:13 pm #5455 DataFlair TeamSpectator You can calculate the No. of Mappers using the following reference. No. of mappers = total size of the file/ input split size For example, if the total size of input is 1 GB and input split size is set to 128 MB then: No. of mappers = 1 x 1024 / 128 = 8 mappers. In you case, No. of Mappers = 400/128 => 4 Author Posts Viewing 1 reply thread You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Signup / Login with Google Log In