nerdexam
Cloudera

CCD-333 · Question #36

Given a directory of files with the following structure: line number, tab character, string: 1. abialkjfjkaoasdfjksdlkjhqweroij 2. kadf jhuwqounahagtnbvaswslmnbfgy 3. kjfteiomndscxeqalkzhtopedkfslkj…

The correct answer is C. SequenceFileInputFormat. See the full explanation below for the reasoning.

Question

Given a directory of files with the following structure: line number, tab character, string: 1. abialkjfjkaoasdfjksdlkjhqweroij 2. kadf jhuwqounahagtnbvaswslmnbfgy 3. kjfteiomndscxeqalkzhtopedkfslkj You want to send each line as one record to your Mapper. Which InputFormat would you use to complete the line: setInputFormat (________.class);

Options

  • ABDBInputFormat
  • BKeyValueTextInputFormat
  • CSequenceFileInputFormat
  • DSequenceFileAsTextInputFormat

How the community answered

(36 responses)
  • A
    6% (2)
  • C
    86% (31)
  • D
    8% (3)

Community Discussion

No community discussion yet for this question.

Full CCD-333 Practice