Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Threaded View
MapReduce, mail # dev - Obtaining active TaskTrackers


Copy link to this message
-
Re: Obtaining active TaskTrackers
M. C. Srivas 2010-08-23, 16:18
     JobClient client = new JobClient(jconf);
      Collection<String> trackers         client.getClusterStatus(true).getActiveTrackerNames();
On Mon, Aug 23, 2010 at 9:02 AM, Ted Yu <[EMAIL PROTECTED]> wrote:

> Hi,
> How can I obtain the list of active TaskTrackers programmatically ?
> I looked at machines.jsp which uses a reference to JobTracker
>
> How do I obtain JobTracker reference from client ?
>
> Thanks
>