31 Frequently Asked Interview Questions for Hadoop Developers | WizIQ Blog
ith the help of our top Hadoop instructors we've put together a comprehensive list of questions to help you get through your first Hadoop interview. We've made sure that the most probable questions asked during interviews are covered in this list. If you want to learn more, check out our new courses in Hadoop!
Q1. Name the most common Input Formats defined in Hadoop? Which one is default?
The two most common Input Formats defined in Hadoop are:
– TextInputFormat
- KeyValueInputF5ormat
- SequenceFileInputFormat
TextInputFormat is the Hadoop default.
Q2. What is the difference between TextInputFormat and KeyValueInputFormat class?
TextInputFormat: It reads lines of text files and provides the offset of the line as key to the Mapper and actual line as Value to the mapper.
KeyValueInputFormat: Reads text file and parses lines into key, Val pairs. Everything up to the first tab character is sent as key to the Mapper and the remainder of the line is sent as value to the mapper.
Read full article from 31 Frequently Asked Interview Questions for Hadoop Developers | WizIQ Blog
No comments:
Post a Comment