mgrstnr
mgrstnr

Reputation: 520

Getting all TaskAttempts of a Task from Hadoop API

I would like to get information on all TaskAttempts of a Task of a Job on Hadoop.

org.apache.hadoop.mapred.TaskReport gives information on running Attempts and successful Attempts, but I would like to also get those that failed or were killed. Any nice way of doing that?

Thanks!

Upvotes: 2

Views: 141

Answers (1)

Ahmadov
Ahmadov

Reputation: 1607

You have to set keep.failed.task.files to true.

Upvotes: 1

Related Questions