I remember hitting this once in 0.20 - seems like an API limitation. The resolution we took back then was to get a list of all tasks, and get the end time with the last ended task's completion time (sort and pick). There may be other ways though - others can comment on that perhaps (metrics? job-history?)
On 02-Dec-2011, at 11:27 PM, W.P. McNeill wrote: > After my Hadoop job has successfully completed I'd like to log the total > amount of time it took. This is the "Finished in" statistic in the web UI. > How do I get this number programmatically? Is there some way I can query > the Job object? I didn't see anything in the API documentation.