Re: How do I programmatically get total job execution time?

2011-12-02 Thread Praveen Sripati
apache.org > >Sent: Friday, December 2, 2011 12:53 PM > >Subject: Re: How do I programmatically get total job execution time? > > > >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

Re: How do I programmatically get total job execution time?

2011-12-02 Thread Raj V
o: common-user@hadoop.apache.org >Sent: Friday, December 2, 2011 12:53 PM >Subject: Re: How do I programmatically get total job execution time? > >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, an

Re: How do I programmatically get total job execution time?

2011-12-02 Thread Harsh J
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

Re: How do I programmatically get total job execution time?

2011-12-02 Thread Tom Melendez
On Fri, Dec 2, 2011 at 9:57 AM, 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

How do I programmatically get total job execution time?

2011-12-02 Thread W.P. McNeill
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.