Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Hortonworks Exam HDPCD Topic 1 Question 20 Discussion

Actual exam question for Hortonworks's HDPCD exam
Question #: 20
Topic #: 1
[All HDPCD Questions]

You have written a Mapper which invokes the following five calls to the OutputColletor.collect method:

output.collect (new Text (''Apple''), new Text (''Red'') ) ;

output.collect (new Text (''Banana''), new Text (''Yellow'') ) ;

output.collect (new Text (''Apple''), new Text (''Yellow'') ) ;

output.collect (new Text (''Cherry''), new Text (''Red'') ) ;

output.collect (new Text (''Apple''), new Text (''Green'') ) ;

How many times will the Reducer's reduce method be invoked?

Show Suggested Answer Hide Answer
Suggested Answer: C

Contribute your Thoughts:

Currently there are no comments in this discussion, be the first to comment!


Save Cancel