nerdexam
Cloudera

CCD-333 · Question #37

In a MapReduce job, you want each of you input files processed by a single map task. How do you configure a MapReduce job so that a single map task processes each input file regardless of how many…

The correct answer is B. Write a custom MapRunner that iterates over all key-value pairs in the entire file. Cloudera CCD-333 Exam

HBase Data Manipulation (CRUD)

Question

In a MapReduce job, you want each of you input files processed by a single map task. How do you configure a MapReduce job so that a single map task processes each input file regardless of how many blocks the input file occupies?

Options

  • AIncrease the parameter that controls minimum split size in the job configuration.
  • BWrite a custom MapRunner that iterates over all key-value pairs in the entire file.
  • CSet the number of mappers equal to the number of input files you want to process.
  • DWrite a custom FileInputFormat and override the method isSplittable to always return false.

How the community answered

(39 responses)
  • A
    5% (2)
  • B
    82% (32)
  • C
    10% (4)
  • D
    3% (1)

Explanation

Cloudera CCD-333 Exam

Topics

#FileInputFormat#isSplittable#custom MapRunner#input splitting

Community Discussion

No community discussion yet for this question.

Full CCD-333 Practice