The default InputFormat is __________ which treats each value

the-default-inputformat-is-which-treats-each-value

The default InputFormat is __________ which treats each value of input a new value and the associated key is byte offset.

A. TextFormat

B. TextInputFormat

C. InputFormat

D. All of the mentioned

The question was posed to me during an interview.

My query is from Data Flow in portion HDFS – Hadoop Distributed File System of Hadoop

Right option is B. TextInputFormat

Explanation: A RecordReader is little more than an iterator over records, and the map task uses one to generate record key-value pairs.