nerdexam
Cloudera

CCD-410 · Question #38

You wrote a map function that throws a runtime exception when it encounters a control character in input data. The input supplied to your mapper contains twelve such characters totals, spread across…

The correct answer is E. You will have twenty failed task attempts. There will be four failed task attempts for each of the five file splits.

Performance Tuning and Troubleshooting

Question

You wrote a map function that throws a runtime exception when it encounters a control character in input data. The input supplied to your mapper contains twelve such characters totals, spread across five file splits. The first four file splits each have two control characters and the last split has four control characters. Indentify the number of failed task attempts you can expect when you run the job with mapred.max.map.attempts set to 4:

Exhibit

CCD-410 question #38 exhibit

Options

  • AYou will have forty-eight failed task attempts
  • BYou will have seventeen failed task attempts
  • CYou will have five failed task attempts
  • DYou will have twelve failed task attempts
  • EYou will have twenty failed task attempts

How the community answered

(32 responses)
  • B
    6% (2)
  • C
    9% (3)
  • D
    3% (1)
  • E
    81% (26)

Explanation

There will be four failed task attempts for each of the five file splits.

Topics

#task failure#mapred.max.map.attempts#exception handling#task retry

Community Discussion

No community discussion yet for this question.

Full CCD-410 Practice