Cloudera
CCD-333 · Question #54
CCD-333 Question #54: Real Exam Question with Answer & Explanation
Sign in or unlock CCD-333 to reveal the answer and full explanation for question #54. The question stem and answer options stay visible for context.
Question
You write a MapReduce job to process 100 files in HDFS. Your MapReducc algorithm uses TextInputFormat and the IdentityReducer: the mapper applies a regular expression over input values and emits key-value pairs with the key consisting of the matching text, and the value containing the filename and byte offset. Determine the difference between setting the number of reducers to zero.
Options
- AThere is no differenceinoutput between the two settings.
- BWith zero reducers, no reducer runs and the job throws an exception. With one reducer,
- CWith zero reducers, all instances of matching patterns are gathered together in one file on
- DWith zero reducers, instances of matching patterns are stored in multiple files on HDFS. With
Unlock CCD-333 to see the answer
You've previewed enough free CCD-333 questions. Unlock CCD-333 for full answers, explanations, the timed quiz mode, progress tracking, and the master PDF. Question stem and options stay visible so you can still see what's on the exam.