Showing posts with label 64. Which of the following best describes the workings of TextInputFormat?. Show all posts
Showing posts with label 64. Which of the following best describes the workings of TextInputFormat?. Show all posts

Which of the following best describes the workings of TextInputFormat?

A. Input file splits may cross line breaks. A line thatcrosses tile splits is ignored.
B. The input file is split exactly at the line breaks, so each Record Reader will read a series of complete lines.
C. Input file splits may cross line breaks. A line that crosses file splits is read by the RecordReaders of both splits containing the brokenline.
D. 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.
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 beginning of thebroken line.

Answer: D