Intellipaat Back

Explore Courses Blog Tutorials Interview Questions
0 votes
2 views
in Big Data Hadoop & Spark by (32.1k points)
Can anyone tell me which is the default input formats defined in Hadoop?

1 Answer

0 votes
by (45.3k 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:

31k questions

32.8k answers

501 comments

693 users

Browse Categories

...