What is the default input format for MapReduce jobs?

Answer

TextInputFormat

Explanation

The default InputFormat for MapReduce jobs is TextInputFormat, which treats each line of the input file as a separate record, with the key being the byte offset of the line and the value being the line content.

Last reviewed: October 2026

Reviewed by FirstInTest Editorial Team

Report an error
QuestionBack to list