You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-user@hadoop.apache.org by ugiwgh <ug...@gmail.com> on 2012/11/12 05:41:32 UTC
To get JobID
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
Re: To get JobID
Posted by Harsh J <ha...@cloudera.com>.
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 <ug...@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
Re: To get JobID
Posted by Harsh J <ha...@cloudera.com>.
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 <ug...@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
Re: To get JobID
Posted by Harsh J <ha...@cloudera.com>.
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 <ug...@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
Re: To get JobID
Posted by Harsh J <ha...@cloudera.com>.
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 <ug...@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