Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 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
>
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB