 The process of applying that code on the file is known as Mapper.Hadoop cluster has nominally a single namenode plus a cluster of datanodes, although redundancy options are available for the namenode due to its criticality.Each datanode serves up blocks of data over the network using a block protocol specific to HDFS.