hadoop-mapreduce-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "M. C. Srivas" <mcsri...@gmail.com>
Subject Re: Obtaining active TaskTrackers
Date Mon, 23 Aug 2010 16:18:57 GMT
      JobClient client = new JobClient(jconf);
      Collection<String> trackers =
        client.getClusterStatus(true).getActiveTrackerNames();


On Mon, Aug 23, 2010 at 9:02 AM, Ted Yu <yuzhihong@gmail.com> 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
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message