HDPCD Hortonworks Data Platform Certified Developer

Loading demo links...

Showing 10–10 of 10 questions

Question 10

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) ; ?

Select an option, then click Submit answer.

  • SequenceFileAsTextInputFormat

  • SequenceFileInputFormat

  • KeyValueFileInputFormat

  • BDBInputFormat