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
     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
>