Which of the following best describes the workings of TextInputFormat?…

Which of the following best describes the workings of TextInputFormat?
  • Input file splits may cross line breaks. A line thatcrosses tile splits is ignored.
  • The input file is split exactly at the line breaks, so each Record Reader will read a series of complete lines.
  • Input file splits may cross line breaks. A line that crosses file splits is read by the RecordReaders of both splits containing the brokenline.
  • 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 brokenline.
  • Input file splits may cross line breaks. A line that crosses file splits is read by the RecordReader of the split that contains the beginningof thebroken line.

Answer

  • 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 brokenline.

Comments