hadoop-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ugiwgh" <ugi...@gmail.com>
Subject Re: To get JobID
Date Tue, 27 Nov 2012 11:51:55 GMT
Thanks very much. It worked.

-GHui

 




------------------ Original ------------------
From:  "Harsh J"<harsh@cloudera.com>;
Date:  Mon, Nov 12, 2012 01:32 PM
To:  "user"<user@hadoop.apache.org>; 

Subject:  Re: To get JobID



You can get "TaskCompletionEvent" objects and extract the task tracker
URLs out of it.

Use the array of TaskCompletionEvent objects returned by this method
of Job class (after submit):
http://hadoop.apache.org/docs/current/api/org/apache/hadoop/mapreduce/Job.html#getTaskCompletionEvents(int,%20int)

On Mon, Nov 12, 2012 at 10:11 AM, ugiwgh <ugiwgh@gmail.com> wrote:
> I can use JobStatus.getJobID() to get Hadoop Job_ID.
> If I want to get the nodes that the job running, how can I do that?
>
> Any help will be appreciated.
>
> --GHui



-- 
Harsh J
Mime
View raw message