Which best describes how TextInputFormat processes input files and line breaks?
A . Input file splits may cross line breaks. A line that crosses file splits is read by the RecordReader of the split that contains the beginning of the broken line.
B . Input file splits may cross line breaks. A line that crosses file splits is read by the RecordReaders of both splits containing the broken line.
C . The input file is split exactly at the line breaks, so each RecordReader will read a series of complete lines.
D . Input file splits may cross line breaks. A line that crosses file splits is ignored.
E . Input file splits may cross line breaks. A line that crosses file splits is read by the RecordReader of the split that contains the end of the broken line.
Answer: A
Reference: How Map and Reduce operations are actually carried out
Leave a Reply