Exit CCD-410 Cloudera Certified Developer for Apache Hadoop (CCDH)
Question 1 of 5
0% complete
Q1 Single choice

Given a directory of files with the following structure: line number, tab character, string:

Example:
1 abialkjfjkaoasdfjksdlkjhqweroij
2 kadfjhuwqounahagtnbvaswslmnbfgy
3 kjfteiomndscxeqalkzhtopedkfsikj

You want to send each line as one record to your Mapper. Which InputFormat should you use to complete the line: conf.setInputFormat (____.
class) ; ?

  • A

    SequenceFileAsTextInputFormat

  • B

    SequenceFileInputFormat

  • C

    KeyValueFileInputFormat

  • D

    BDBInputFormat

Previous Next