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!
You have to set keep.failed.task.files
to true
.
精彩评论