Ronnie,

It looks like you found out, the JobClient is only useful
 for connecting within the scope of the jobs you submit through it. If 
you use JobClient.getAllJobs(); it will only return jobs within the 
scope of that instance and not jobs that were sent by another 
application or through hadoops binary submit routine.  It seems like a 
useful feature to provide in the future.


Richard

----- Original Message -----
From: Mahadev Konar <maha...@hortonworks.com>
To: Ronnie Dove <ron...@oceansync.com>
Cc: mapreduce-user@hadoop.apache.org
Sent: Saturday, November 12, 2011 4:20 PM
Subject: Re: JobTracker API Hooks

Moving it to mapreduce-user.

Ronnie,
Is jobclient.getalljobs() something that you are looking for?

thanks
mahadev



On Sat, Nov 12, 2011 at 7:08 AM, Ronnie Dove <ron...@oceansync.com> wrote:
> Hello,
>
>
 Is it possible to connect to an already running JobTracker via socket 
through the Hadoop Java API?  I see that there is a startTracker method 
but nothing to establish a connection/hook into a currently running 
JobTracker, that might of been launched prior to an application 
connecting.  I know that I can use JobClient to assist with tracking 
jobs that I submit through my application but I was interested in 
monitoring all job statuses that were launched by other applications or 
users that launch jobs independently through the Hadoop command line.
>
> Thanks in advance.
> ________________________________
> Ronnie Dove
> OceanSync Hadoop Management Software
> http://www.OceanSync.com
>

Reply via email to