0 votes
1 view
in Big Data Hadoop & Spark by (31.8k points)
Can anyone tell me which is the default input formats defined in Hadoop?

1 Answer

0 votes
by (38.2k points)

TextInputFormat is the default input format of MapReduce in Hadoop. TextInputFormat considers each line of each input file as another record and performs no parsing. This is mainly used for unformatted data or line-based records like log files.

  • Key – It is the byte offset of the beginning of the line within the file, so it will be unique if combined with the file name.
  • Value – It is the information in the line, excluding line terminators.

If you want to learn Hadoop, I recommend this Hadoop Training program by Intellipaat.

Also, check out this YouTube tutorial on Hadoop:

Welcome to Intellipaat Community. Get your technical queries answered by top developers !