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
Related questions
What is an 'action' in Spark (e.g., count, collect, save)?
View question →
What is the purpose of the 'OutputFormat' in MapReduce?
View question →
Which YARN scheduler aims to maximize cluster utilization by running jobs as soon as resources are available?
View question →
Which of the following describes the 'schema-on-read' approach?
View question →
To connect Sqoop to a MySQL database, what information is typically required?
View question →
Which command is used to load data into a Hive table from an HDFS path?
View question →