What is the default input format for a MapReduce job in Hadoop?

  • KeyValueInputFormat
  • SequenceFileInputFormat
  • TextInputFormat
  • XMLInputFormat
The default input format for a MapReduce job in Hadoop is TextInputFormat. It treats input files as plain text files and provides key-value pairs, where the key is the byte offset of the line, and the value is the content of the line.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *