nerdexam
Cloudera

CCD-333 · Question #49

In the reducer, the MapReduce API provides you with an iterator over Writable values. Calling the next () method:

The correct answer is B. Returns a reference to a Writable object from an object pool. See the full explanation below for the reasoning.

Question

In the reducer, the MapReduce API provides you with an iterator over Writable values. Calling the next () method:

Options

  • AReturns a reference to adifferentWritableobject each time.
  • BReturns a reference to a Writable object from an object pool.
  • CReturns a reference to the same writable object each time, but populated with different data.
  • DReturns a reference to a Writable object. The API leaves unspecified whether this is a reused
  • EReturns a reference to the same writable object if the next value is the same as the previous

How the community answered

(61 responses)
  • A
    7% (4)
  • B
    77% (47)
  • C
    11% (7)
  • D
    2% (1)
  • E
    3% (2)

Community Discussion

No community discussion yet for this question.

Full CCD-333 Practice